#2F349E#2F349E
#2F349E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.168 H 273.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F349E |
|---|---|
| RGB | rgb(47, 52, 158) |
| HSL | hsl(237, 54%, 40%) |
| HSV | hsv(237, 70%, 62%) |
| CMYK | cmyk(70.3%, 67.1%, 0%, 38%) |
| CIE-LAB | lab(28.19, 33.74, -58.10) |
| CIE-LCH | lch(28.19, 67.18, 300.14°) |
| OKLab | oklab(39.48% 0.0105 -0.1678) |
| OKLCH | oklch(39.48% 0.168 273.6) |
| XYZ | xyz(8.5698, 5.5281, 32.9565) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.50
Blueberry
#464196
ΔE00 4.94
Darkslateblue
#483D8B
ΔE00 5.76
Ocean Blue
#4F42B5
ΔE00 6.26
Blue Blue
#2242C7
ΔE00 6.68
Indigo Blue
#3A18B1
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F349E #9E992F
analogous
#2F6C9E #2F349E #612F9E
triadic
#2F349E #9E2F34 #349E2F
tetradic
#2F349E #9E2F6C #9E992F #2F9E61
square
#2F349E #9E2F6C #9E992F #2F9E61
split-complementary
#2F349E #9E612F #6C9E2F
monochromatic
#131540 #21246F #2F349E #4349C7 #7277D5
Accessibility & contrast
On white
9.97
#2F349E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2F349E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F349E
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F349E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F349E | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f349e; /* rgb */ color: rgb(47, 52, 158); /* oklch */ color: oklch(39.5% 0.168 273.6);
Tailwind
colors: {
custom: {
50: '#776cbc',
500: '#2f349e',
950: '#000000',
},
}SCSS
$custom: #2f349e; $custom-light: #776cbc; $custom-dark: #000000;
JSON
{
"hex": "#2f349e",
"rgb": {
"r": 47,
"g": 52,
"b": 158
},
"hsl": {
"h": 237.297,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.39476,
"c": 0.16813,
"h": 273.6
},
"luminance": 0.05529
}Semantic roles & 50–950 ramp
primary
#2F349E
secondary
#BDB96C
accent
#D74ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81