#2F347D#2F347D
#2F347D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.122 H 275.6°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2F347D |
|---|---|
| RGB | rgb(47, 52, 125) |
| HSL | hsl(236, 45%, 34%) |
| HSV | hsv(236, 62%, 49%) |
| CMYK | cmyk(62.4%, 58.4%, 0%, 51%) |
| CIE-LAB | lab(25.38, 21.82, -42.25) |
| CIE-LCH | lch(25.38, 47.55, 297.31°) |
| OKLab | oklab(36.54% 0.0119 -0.1213) |
| OKLCH | oklch(36.54% 0.122 275.6) |
| XYZ | xyz(6.1007, 4.5405, 19.9530) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.91
Blueberry
#464196
ΔE00 5.72
Sapphire (survey)
#2138AB
ΔE00 7.14
Marine
#042E60
ΔE00 7.46
Midnight Blue
#191970
ΔE00 7.68
Marine Blue
#01386A
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F347D #7D782F
analogous
#2F5B7D #2F347D #512F7D
triadic
#2F347D #7D2F34 #347D2F
tetradic
#2F347D #7D2F5B #7D782F #2F7D51
square
#2F347D #7D2F5B #7D782F #2F7D51
split-complementary
#2F347D #7D512F #5B7D2F
monochromatic
#0E0F24 #1E2151 #2F347D #4047A9 #6269C4
Accessibility & contrast
On white
11.01
#2F347D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2F347D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F347D
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F347D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F347D | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f347d; /* rgb */ color: rgb(47, 52, 125); /* oklch */ color: oklch(36.5% 0.122 275.6);
Tailwind
colors: {
custom: {
50: '#706ba3',
500: '#2f347d',
950: '#000000',
},
}SCSS
$custom: #2f347d; $custom-light: #706ba3; $custom-dark: #000000;
JSON
{
"hex": "#2f347d",
"rgb": {
"r": 47,
"g": 52,
"b": 125
},
"hsl": {
"h": 236.154,
"s": 45.349,
"l": 33.725
},
"oklch": {
"l": 0.36538,
"c": 0.12187,
"h": 275.6
},
"luminance": 0.04541
}Semantic roles & 50–950 ramp
primary
#2F347D
secondary
#ABA65D
accent
#CD53D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F