#2F3CA2#2F3CA2
#2F3CA2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.164 H 271.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CA2 |
|---|---|
| RGB | rgb(47, 60, 162) |
| HSL | hsl(233, 55%, 41%) |
| HSV | hsv(233, 71%, 64%) |
| CMYK | cmyk(71%, 63%, 0%, 36.5%) |
| CIE-LAB | lab(30.51, 30.01, -56.73) |
| CIE-LCH | lch(30.51, 64.18, 297.88°) |
| OKLab | oklab(41.28% 0.0044 -0.1637) |
| OKLCH | oklch(41.28% 0.164 271.5) |
| XYZ | xyz(9.3075, 6.4438, 34.9287) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.97
Blueberry
#464196
ΔE00 4.13
Blue Blue
#2242C7
ΔE00 5.18
Ocean Blue
#4F42B5
ΔE00 5.44
Cobalt
#0047AB
ΔE00 5.62
Darkslateblue
#483D8B
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CA2 #A2952F
analogous
#2F75A2 #2F3CA2 #5B2FA2
triadic
#2F3CA2 #A22F3C #3CA22F
tetradic
#2F3CA2 #A22F75 #A2952F #2FA25B
square
#2F3CA2 #A22F75 #A2952F #2FA25B
split-complementary
#2F3CA2 #A25B2F #75A22F
monochromatic
#131943 #212A73 #2F3CA2 #4554C9 #7580D7
Accessibility & contrast
On white
9.17
#2F3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2F3CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CA2
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CA2 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f3ca2; /* rgb */ color: rgb(47, 60, 162); /* oklch */ color: oklch(41.3% 0.164 271.5);
Tailwind
colors: {
custom: {
50: '#7771be',
500: '#2f3ca2',
950: '#000000',
},
}SCSS
$custom: #2f3ca2; $custom-light: #7771be; $custom-dark: #000000;
JSON
{
"hex": "#2f3ca2",
"rgb": {
"r": 47,
"g": 60,
"b": 162
},
"hsl": {
"h": 233.217,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.41282,
"c": 0.16381,
"h": 271.5
},
"luminance": 0.06445
}Semantic roles & 50–950 ramp
primary
#2F3CA2
secondary
#BFB66E
accent
#CE49DE
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81