#2F3CA4#2F3CA4
#2F3CA4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.167 H 271.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CA4 |
|---|---|
| RGB | rgb(47, 60, 164) |
| HSL | hsl(233, 55%, 41%) |
| HSV | hsv(233, 71%, 64%) |
| CMYK | cmyk(71.3%, 63.4%, 0%, 35.7%) |
| CIE-LAB | lab(30.68, 30.74, -57.65) |
| CIE-LCH | lch(30.68, 65.34, 298.06°) |
| OKLab | oklab(41.46% 0.0043 -0.1665) |
| OKLCH | oklch(41.46% 0.167 271.5) |
| XYZ | xyz(9.4867, 6.5155, 35.8724) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.79
Blueberry
#464196
ΔE00 4.26
Blue Blue
#2242C7
ΔE00 4.92
Ocean Blue
#4F42B5
ΔE00 5.26
Cobalt
#0047AB
ΔE00 5.63
Darkslateblue
#483D8B
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CA4 #A4972F
analogous
#2F77A4 #2F3CA4 #5D2FA4
triadic
#2F3CA4 #A42F3C #3CA42F
tetradic
#2F3CA4 #A42F77 #A4972F #2FA45D
square
#2F3CA4 #A42F77 #A4972F #2FA45D
split-complementary
#2F3CA4 #A45D2F #77A42F
monochromatic
#141945 #212B74 #2F3CA4 #4655CA #7681D8
Accessibility & contrast
On white
9.12
#2F3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2F3CA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CA4
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CA4 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f3ca4; /* rgb */ color: rgb(47, 60, 164); /* oklch */ color: oklch(41.5% 0.167 271.5);
Tailwind
colors: {
custom: {
50: '#7871c0',
500: '#2f3ca4',
950: '#000000',
},
}SCSS
$custom: #2f3ca4; $custom-light: #7871c0; $custom-dark: #000000;
JSON
{
"hex": "#2f3ca4",
"rgb": {
"r": 47,
"g": 60,
"b": 164
},
"hsl": {
"h": 233.333,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.41462,
"c": 0.16652,
"h": 271.5
},
"luminance": 0.06516
}Semantic roles & 50–950 ramp
primary
#2F3CA4
secondary
#C0B76F
accent
#CE49DF
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81