Examples: #6366F1, 6366f1, rgb(99, 102, 241), hsl(239 84% 67%), cmyk(59, 58, 0, 5), rebeccapurple
#6366F1 is a light, vivid blue. In RGB it is 38.8% red, 40% green and 94.5% blue.
Closest CSS color name: mediumslateblue (#7B68EE, Delta E 3.9).
Relative luminance 0.185. Contrast with white 4.47:1 (AA large), with black 4.70:1 (AA).
Every format
Color schemes
Shades, tints and tones
Color blindness simulation
How #6366F1 may look with each type of color vision deficiency, at full strength and at a milder 60%.
Preview and CSS
Text on white
4.47:1
Text on black
4.70:1
Background
with black text, 4.70:1
Border
4px solid
color: #6366F1;background-color: #6366F1;border: 4px solid #6366F1;box-shadow: 0 4px 12px rgb(99 102 241 / 0.35);$brand: #6366F1;UIColor(red: 0.388, green: 0.4, blue: 0.945, alpha: 1)Color(red: 0.388, green: 0.4, blue: 0.945, opacity: 1)<color name="brand">#6366F1</color>Color(0xFF6366F1)Color.argb(255, 99, 102, 241)Color(0xFF6366F1)new Color32(99, 102, 241, 255)Color.FromArgb(255, 99, 102, 241)(99, 102, 241)Export this color with its tints and shades
:root {
--mediumslateblue-scale-tint-10: #F1F1FE;
--mediumslateblue-scale-tint-9: #E3E3FC;
--mediumslateblue-scale-tint-8: #D4D5FB;
--mediumslateblue-scale-tint-7: #C6C7FA;
--mediumslateblue-scale-tint-6: #B8B9F9;
--mediumslateblue-scale-tint-5: #AAACF7;
--mediumslateblue-scale-tint-4: #9C9EF6;
--mediumslateblue-scale-tint-3: #8E90F5;
--mediumslateblue-scale-tint-2: #7F82F4;
--mediumslateblue-scale-tint-1: #7174F2;
--mediumslateblue-scale-base: #6366F1;
--mediumslateblue-scale-shade-1: #5A5DDB;
--mediumslateblue-scale-shade-2: #5153C5;
--mediumslateblue-scale-shade-3: #484AAF;
--mediumslateblue-scale-shade-4: #3F4199;
--mediumslateblue-scale-shade-5: #363883;
--mediumslateblue-scale-shade-6: #2D2E6E;
--mediumslateblue-scale-shade-7: #242558;
--mediumslateblue-scale-shade-8: #1B1C42;
--mediumslateblue-scale-shade-9: #12132C;
--mediumslateblue-scale-shade-10: #090916;
}How to use
Enter a color
Type or paste a value into the box, such as #6366F1, rgb(99, 102, 241), hsl(239 84% 67%), cmyk(59, 58, 0, 5) or a CSS name. You can also use the picker, Pick from screen or Random color.
Copy any format
Every format card has its own Copy button, and Copy all copies the whole list as text. An 8 digit hex adds HEX with alpha and RGBA rows.
Explore related colors
Click any scheme, tint, shade or tone to convert that color next. Check the color blindness preview and contrast figures, then copy code or export the color with its tints and shades.
Why Color Converter
- Seventeen formats from one input, including OKLCH and CIE LAB.
- Plain language description and nearest CSS color name.
- Schemes, tints, shades, tones and color blindness preview.
- Share link, export and code for CSS, Swift, Android and Flutter.
Color formats compared
Every format describes the same color in a different way. Screens work in RGB, which HEX writes in base 16. HSL, HSV and HWB rearrange RGB into hue plus two sliders that are easier to adjust by hand. CMYK is a formula conversion toward print inks, and the LAB family measures how people perceive color.
| Format | Example for #6366F1 | Typical use |
|---|---|---|
| HEX | #6366F1 | CSS, design tools, brand guides |
| RGB | rgb(99, 102, 241) | CSS, canvas, image editing |
| HSL | hsl(239, 84%, 67%) | CSS themes and hover states |
| HSV / HSB | hsv(239, 59%, 95%) | Color pickers in design apps |
| HWB | hwb(239 38.8% 5.5%) | CSS, mixing white and black into a hue |
| CMYK | cmyk(59%, 58%, 0%, 5%) | Starting values for print |
| OKLCH | oklch(58.54% 0.2041 277.12) | Modern CSS, Tailwind v4 |
| CIE LAB | lab(50.1% 38.69 -70.49) | Measuring color difference |
Schemes, tints, shades and tones
Schemes rotate the hue around the color wheel: complementary uses the opposite hue, triadic uses three hues 120 degrees apart, and so on. Tints mix the color with white, shades mix it with black, and tones mix it with a gray of the same lightness, which lowers saturation without making the color lighter or darker.
Use tints for backgrounds and hover fills, shades for pressed states and text on light surfaces, and tones when a color feels too loud for a large area. Click any swatch on the page to convert it and see its own values.