#2F3C94#2F3C94
#2F3C94 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.144 H 271.8°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3C94 |
|---|---|
| RGB | rgb(47, 60, 148) |
| HSL | hsl(232, 52%, 38%) |
| HSV | hsv(232, 68%, 58%) |
| CMYK | cmyk(68.2%, 59.5%, 0%, 42%) |
| CIE-LAB | lab(29.35, 24.86, -50.11) |
| CIE-LCH | lch(29.35, 55.94, 296.39°) |
| OKLab | oklab(40.06% 0.0046 -0.1443) |
| OKLCH | oklch(40.06% 0.144 271.8) |
| XYZ | xyz(8.1316, 5.9734, 28.7357) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.78
Sapphire (survey)
#2138AB
ΔE00 3.78
Darkslateblue
#483D8B
ΔE00 4.90
Cobalt
#0047AB
ΔE00 6.01
Cobalt (survey)
#1E488F
ΔE00 6.01
Ocean Blue
#4F42B5
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3C94 #94872F
analogous
#2F6E94 #2F3C94 #542F94
triadic
#2F3C94 #942F3C #3C942F
tetradic
#2F3C94 #942F6E #94872F #2F9454
square
#2F3C94 #942F6E #94872F #2F9454
split-complementary
#2F3C94 #94542F #6E942F
monochromatic
#111637 #202966 #2F3C94 #3E4FC2 #6D7AD1
Accessibility & contrast
On white
9.57
#2F3C94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2F3C94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3C94
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3C94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3C94 | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f3c94; /* rgb */ color: rgb(47, 60, 148); /* oklch */ color: oklch(40.1% 0.144 271.8);
Tailwind
colors: {
custom: {
50: '#7471b4',
500: '#2f3c94',
950: '#000000',
},
}SCSS
$custom: #2f3c94; $custom-light: #7471b4; $custom-dark: #000000;
JSON
{
"hex": "#2f3c94",
"rgb": {
"r": 47,
"g": 60,
"b": 148
},
"hsl": {
"h": 232.277,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.40061,
"c": 0.14437,
"h": 271.8
},
"luminance": 0.05974
}Semantic roles & 50–950 ramp
primary
#2F3C94
secondary
#B8AD67
accent
#C94DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80