#2F3C9F#2F3C9F
#2F3C9F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.160 H 271.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3C9F |
|---|---|
| RGB | rgb(47, 60, 159) |
| HSL | hsl(233, 54%, 40%) |
| HSV | hsv(233, 70%, 62%) |
| CMYK | cmyk(70.4%, 62.3%, 0%, 37.6%) |
| CIE-LAB | lab(30.25, 28.91, -55.33) |
| CIE-LCH | lch(30.25, 62.43, 297.59°) |
| OKLab | oklab(41.02% 0.0045 -0.1596) |
| OKLCH | oklch(41.02% 0.16 271.6) |
| XYZ | xyz(9.0440, 6.3384, 33.5410) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.29
Blueberry
#464196
ΔE00 3.97
Darkslateblue
#483D8B
ΔE00 5.54
Blue Blue
#2242C7
ΔE00 5.58
Cobalt
#0047AB
ΔE00 5.64
Ocean Blue
#4F42B5
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3C9F #9F922F
analogous
#2F749F #2F3C9F #5A2F9F
triadic
#2F3C9F #9F2F3C #3C9F2F
tetradic
#2F3C9F #9F2F74 #9F922F #2F9F5A
square
#2F3C9F #9F2F74 #9F922F #2F9F5A
split-complementary
#2F3C9F #9F5A2F #749F2F
monochromatic
#131841 #212A70 #2F3C9F #4453C8 #737ED6
Accessibility & contrast
On white
9.26
#2F3C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2F3C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3C9F
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3C9F | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f3c9f; /* rgb */ color: rgb(47, 60, 159); /* oklch */ color: oklch(41.0% 0.160 271.6);
Tailwind
colors: {
custom: {
50: '#7771bc',
500: '#2f3c9f',
950: '#000000',
},
}SCSS
$custom: #2f3c9f; $custom-light: #7771bc; $custom-dark: #000000;
JSON
{
"hex": "#2f3c9f",
"rgb": {
"r": 47,
"g": 60,
"b": 159
},
"hsl": {
"h": 233.036,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.41015,
"c": 0.1597,
"h": 271.6
},
"luminance": 0.06339
}Semantic roles & 50–950 ramp
primary
#2F3C9F
secondary
#BDB46D
accent
#CD4ADE
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81