#6074E1#6074E1
#6074E1 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.8% C 0.166 H 272.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #6074E1 |
|---|---|
| RGB | rgb(96, 116, 225) |
| HSL | hsl(231, 68%, 63%) |
| HSV | hsv(231, 57%, 88%) |
| CMYK | cmyk(57.3%, 48.4%, 0%, 11.8%) |
| CIE-LAB | lab(52.30, 24.48, -57.97) |
| CIE-LCH | lch(52.30, 62.93, 292.90°) |
| OKLab | oklab(59.8% 0.0076 -0.1656) |
| OKLCH | oklch(59.8% 0.166 272.6) |
| XYZ | xyz(24.6554, 20.4120, 73.8602) |
| Luminance | 0.2041 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.05
Cornflower
#6A79F7
ΔE00 3.67
Royal Blue
#4169E1
ΔE00 5.09
Lightish Blue
#3D7AFD
ΔE00 5.56
Soft Blue
#6488EA
ΔE00 6.79
Clear Blue
#247AFD
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6074E1 #E1CD60
analogous
#60B4E1 #6074E1 #8D60E1
triadic
#6074E1 #E16074 #74E160
tetradic
#6074E1 #E160B4 #E1CD60 #60E18D
square
#6074E1 #E160B4 #E1CD60 #60E18D
split-complementary
#6074E1 #E18D60 #B4E160
monochromatic
#2035A7 #2D47D7 #6074E1 #93A1EB #C7CEF4
Accessibility & contrast
On white
4.13
#6074E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#6074E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #6074E1
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6074E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##6074E1 | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D83E5
Deuteranopia (green-blind)
#2877DF
Tritanopia (blue-blind)
#008DA0
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #6074e1; /* rgb */ color: rgb(96, 116, 225); /* oklch */ color: oklch(59.8% 0.166 272.6);
Tailwind
colors: {
custom: {
50: '#979beb',
500: '#6074e1',
950: '#000000',
},
}SCSS
$custom: #6074e1; $custom-light: #979beb; $custom-dark: #000000;
JSON
{
"hex": "#6074e1",
"rgb": {
"r": 96,
"g": 116,
"b": 225
},
"hsl": {
"h": 230.698,
"s": 68.254,
"l": 62.941
},
"oklch": {
"l": 0.59802,
"c": 0.16578,
"h": 272.6
},
"luminance": 0.20414
}Semantic roles & 50–950 ramp
primary
#6074E1
secondary
#E6DEB7
accent
#B315D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84