#2F3A8F#2F3A8F
#2F3A8F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.140 H 272.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3A8F |
|---|---|
| RGB | rgb(47, 58, 143) |
| HSL | hsl(233, 51%, 37%) |
| HSV | hsv(233, 67%, 56%) |
| CMYK | cmyk(67.1%, 59.4%, 0%, 43.9%) |
| CIE-LAB | lab(28.41, 24.36, -48.55) |
| CIE-LCH | lch(28.41, 54.32, 296.65°) |
| OKLab | oklab(39.24% 0.0064 -0.1397) |
| OKLCH | oklch(39.24% 0.14 272.6) |
| XYZ | xyz(7.6416, 5.6129, 26.6620) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.96
Sapphire (survey)
#2138AB
ΔE00 4.34
Darkslateblue
#483D8B
ΔE00 4.63
Cobalt (survey)
#1E488F
ΔE00 6.46
Cobalt
#0047AB
ΔE00 6.79
Darkish Blue
#014182
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3A8F #8F842F
analogous
#2F6A8F #2F3A8F #542F8F
triadic
#2F3A8F #8F2F3A #3A8F2F
tetradic
#2F3A8F #8F2F6A #8F842F #2F8F54
square
#2F3A8F #8F2F6A #8F842F #2F8F54
split-complementary
#2F3A8F #8F542F #6A8F2F
monochromatic
#111533 #202761 #2F3A8F #3E4DBD #6A76CE
Accessibility & contrast
On white
9.89
#2F3A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2F3A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3A8F
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3A8F | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f3a8f; /* rgb */ color: rgb(47, 58, 143); /* oklch */ color: oklch(39.2% 0.140 272.6);
Tailwind
colors: {
custom: {
50: '#7370b0',
500: '#2f3a8f',
950: '#000000',
},
}SCSS
$custom: #2f3a8f; $custom-light: #7370b0; $custom-dark: #000000;
JSON
{
"hex": "#2f3a8f",
"rgb": {
"r": 47,
"g": 58,
"b": 143
},
"hsl": {
"h": 233.125,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.39242,
"c": 0.13988,
"h": 272.6
},
"luminance": 0.05614
}Semantic roles & 50–950 ramp
primary
#2F3A8F
secondary
#B5AC65
accent
#CA4EDA
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80