#2F3C8F#2F3C8F
#2F3C8F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.137 H 271.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3C8F |
|---|---|
| RGB | rgb(47, 60, 143) |
| HSL | hsl(232, 51%, 37%) |
| HSV | hsv(232, 67%, 56%) |
| CMYK | cmyk(67.1%, 58%, 0%, 43.9%) |
| CIE-LAB | lab(28.95, 23.01, -47.68) |
| CIE-LCH | lch(28.95, 52.94, 295.77°) |
| OKLab | oklab(39.64% 0.0045 -0.1372) |
| OKLCH | oklch(39.64% 0.137 271.9) |
| XYZ | xyz(7.7444, 5.8185, 26.6962) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.93
Sapphire (survey)
#2138AB
ΔE00 4.54
Darkslateblue
#483D8B
ΔE00 4.77
Cobalt (survey)
#1E488F
ΔE00 5.82
Cobalt
#0047AB
ΔE00 6.32
Darkish Blue
#014182
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3C8F #8F822F
analogous
#2F6C8F #2F3C8F #522F8F
triadic
#2F3C8F #8F2F3C #3C8F2F
tetradic
#2F3C8F #8F2F6C #8F822F #2F8F52
square
#2F3C8F #8F2F6C #8F822F #2F8F52
split-complementary
#2F3C8F #8F522F #6C8F2F
monochromatic
#111533 #202961 #2F3C8F #3E4FBD #6A78CE
Accessibility & contrast
On white
9.71
#2F3C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2F3C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3C8F
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3C8F | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f3c8f; /* rgb */ color: rgb(47, 60, 143); /* oklch */ color: oklch(39.6% 0.137 271.9);
Tailwind
colors: {
custom: {
50: '#7371b0',
500: '#2f3c8f',
950: '#000000',
},
}SCSS
$custom: #2f3c8f; $custom-light: #7371b0; $custom-dark: #000000;
JSON
{
"hex": "#2f3c8f",
"rgb": {
"r": 47,
"g": 60,
"b": 143
},
"hsl": {
"h": 231.875,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.39642,
"c": 0.13723,
"h": 271.9
},
"luminance": 0.05819
}Semantic roles & 50–950 ramp
primary
#2F3C8F
secondary
#B5AA65
accent
#C74EDA
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80