#2F347F#2F347F
#2F347F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.125 H 275.5°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2F347F |
|---|---|
| RGB | rgb(47, 52, 127) |
| HSL | hsl(236, 46%, 34%) |
| HSV | hsv(236, 63%, 50%) |
| CMYK | cmyk(63%, 59.1%, 0%, 50.2%) |
| CIE-LAB | lab(25.54, 22.55, -43.26) |
| CIE-LCH | lch(25.54, 48.78, 297.53°) |
| OKLab | oklab(36.7% 0.012 -0.1242) |
| OKLCH | oklch(36.7% 0.125 275.5) |
| XYZ | xyz(6.2298, 4.5921, 20.6326) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.80
Blueberry
#464196
ΔE00 5.52
Sapphire (survey)
#2138AB
ΔE00 6.80
Marine
#042E60
ΔE00 7.65
Midnight Blue
#191970
ΔE00 7.66
Cobalt (survey)
#1E488F
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F347F #7F7A2F
analogous
#2F5C7F #2F347F #522F7F
triadic
#2F347F #7F2F34 #347F2F
tetradic
#2F347F #7F2F5C #7F7A2F #2F7F52
square
#2F347F #7F2F5C #7F7A2F #2F7F52
split-complementary
#2F347F #7F522F #5C7F2F
monochromatic
#0E0F26 #1E2252 #2F347F #4046AC #6369C5
Accessibility & contrast
On white
10.95
#2F347F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2F347F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F347F
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F347F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F347F | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f347f; /* rgb */ color: rgb(47, 52, 127); /* oklch */ color: oklch(36.7% 0.125 275.5);
Tailwind
colors: {
custom: {
50: '#706ba5',
500: '#2f347f',
950: '#000000',
},
}SCSS
$custom: #2f347f; $custom-light: #706ba5; $custom-dark: #000000;
JSON
{
"hex": "#2f347f",
"rgb": {
"r": 47,
"g": 52,
"b": 127
},
"hsl": {
"h": 236.25,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.36704,
"c": 0.12482,
"h": 275.5
},
"luminance": 0.04593
}Semantic roles & 50–950 ramp
primary
#2F347F
secondary
#ACA75E
accent
#CD52D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F