#2F349F#2F349F
#2F349F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.169 H 273.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2F349F |
|---|---|
| RGB | rgb(47, 52, 159) |
| HSL | hsl(237, 54%, 40%) |
| HSV | hsv(237, 70%, 62%) |
| CMYK | cmyk(70.4%, 67.3%, 0%, 37.6%) |
| CIE-LAB | lab(28.28, 34.09, -58.55) |
| CIE-LCH | lch(28.28, 67.75, 300.21°) |
| OKLab | oklab(39.57% 0.0104 -0.1691) |
| OKLCH | oklch(39.57% 0.169 273.5) |
| XYZ | xyz(8.6562, 5.5627, 33.4117) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.41
Blueberry
#464196
ΔE00 4.99
Darkslateblue
#483D8B
ΔE00 5.84
Ocean Blue
#4F42B5
ΔE00 6.18
Blue Blue
#2242C7
ΔE00 6.57
Indigo Blue
#3A18B1
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F349F #9F9A2F
analogous
#2F6C9F #2F349F #622F9F
triadic
#2F349F #9F2F34 #349F2F
tetradic
#2F349F #9F2F6C #9F9A2F #2F9F62
square
#2F349F #9F2F6C #9F9A2F #2F9F62
split-complementary
#2F349F #9F622F #6C9F2F
monochromatic
#131541 #212570 #2F349F #4449C8 #7377D6
Accessibility & contrast
On white
9.94
#2F349F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2F349F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F349F
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F349F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F349F | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#005065
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f349f; /* rgb */ color: rgb(47, 52, 159); /* oklch */ color: oklch(39.6% 0.169 273.5);
Tailwind
colors: {
custom: {
50: '#776cbc',
500: '#2f349f',
950: '#000000',
},
}SCSS
$custom: #2f349f; $custom-light: #776cbc; $custom-dark: #000000;
JSON
{
"hex": "#2f349f",
"rgb": {
"r": 47,
"g": 52,
"b": 159
},
"hsl": {
"h": 237.321,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.39572,
"c": 0.16946,
"h": 273.5
},
"luminance": 0.05564
}Semantic roles & 50–950 ramp
primary
#2F349F
secondary
#BDBA6D
accent
#D74ADE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81