#2F347E#2F347E
#2F347E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.123 H 275.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2F347E |
|---|---|
| RGB | rgb(47, 52, 126) |
| HSL | hsl(236, 46%, 34%) |
| HSV | hsv(236, 63%, 49%) |
| CMYK | cmyk(62.7%, 58.7%, 0%, 50.6%) |
| CIE-LAB | lab(25.46, 22.18, -42.75) |
| CIE-LCH | lch(25.46, 48.17, 297.42°) |
| OKLab | oklab(36.62% 0.012 -0.1228) |
| OKLCH | oklch(36.62% 0.123 275.6) |
| XYZ | xyz(6.1650, 4.5662, 20.2911) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.85
Blueberry
#464196
ΔE00 5.62
Sapphire (survey)
#2138AB
ΔE00 6.97
Marine
#042E60
ΔE00 7.55
Midnight Blue
#191970
ΔE00 7.67
Marine Blue
#01386A
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F347E #7E792F
analogous
#2F5C7E #2F347E #522F7E
triadic
#2F347E #7E2F34 #347E2F
tetradic
#2F347E #7E2F5C #7E792F #2F7E52
square
#2F347E #7E2F5C #7E792F #2F7E52
split-complementary
#2F347E #7E522F #5C7E2F
monochromatic
#0E0F25 #1E2251 #2F347E #4046AB #6369C5
Accessibility & contrast
On white
10.98
#2F347E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2F347E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F347E
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F347E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F347E | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f347e; /* rgb */ color: rgb(47, 52, 126); /* oklch */ color: oklch(36.6% 0.123 275.6);
Tailwind
colors: {
custom: {
50: '#706ba4',
500: '#2f347e',
950: '#000000',
},
}SCSS
$custom: #2f347e; $custom-light: #706ba4; $custom-dark: #000000;
JSON
{
"hex": "#2f347e",
"rgb": {
"r": 47,
"g": 52,
"b": 126
},
"hsl": {
"h": 236.203,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.36621,
"c": 0.12335,
"h": 275.6
},
"luminance": 0.04567
}Semantic roles & 50–950 ramp
primary
#2F347E
secondary
#ACA75D
accent
#CD52D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F