#2F34B9#2F34B9
#2F34B9 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.1% C 0.203 H 272.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2F34B9 |
|---|---|
| RGB | rgb(47, 52, 185) |
| HSL | hsl(238, 59%, 45%) |
| HSV | hsv(238, 75%, 73%) |
| CMYK | cmyk(74.6%, 71.9%, 0%, 27.5%) |
| CIE-LAB | lab(30.79, 43.12, -70.02) |
| CIE-LCH | lch(30.79, 82.23, 301.63°) |
| OKLab | oklab(42.14% 0.0072 -0.2026) |
| OKLCH | oklch(42.14% 0.203 272) |
| XYZ | xyz(11.1543, 6.5619, 46.5683) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.00
Blue Blue
#2242C7
ΔE00 4.44
Ocean Blue
#4F42B5
ΔE00 5.00
Blue With A Hint Of Purple
#533CC6
ΔE00 5.07
Blurple
#5539CC
ΔE00 5.51
Indigo Blue
#3A18B1
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F34B9 #B9B42F
analogous
#2F79B9 #2F34B9 #6F2FB9
triadic
#2F34B9 #B92F34 #34B92F
tetradic
#2F34B9 #B92F79 #B9B42F #2FB96F
square
#2F34B9 #B92F79 #B9B42F #2FB96F
split-complementary
#2F34B9 #B96F2F #79B92F
monochromatic
#161957 #232688 #2F34B9 #5257D3 #8386DF
Accessibility & contrast
On white
9.08
#2F34B9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2F34B9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F34B9
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F34B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F34B9 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0042B7
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f34b9; /* rgb */ color: rgb(47, 52, 185); /* oklch */ color: oklch(42.1% 0.203 272.0);
Tailwind
colors: {
custom: {
50: '#7d6dcf',
500: '#2f34b9',
950: '#000000',
},
}SCSS
$custom: #2f34b9; $custom-light: #7d6dcf; $custom-dark: #000000;
JSON
{
"hex": "#2f34b9",
"rgb": {
"r": 47,
"g": 52,
"b": 185
},
"hsl": {
"h": 237.826,
"s": 59.483,
"l": 45.49
},
"oklch": {
"l": 0.42139,
"c": 0.20276,
"h": 272
},
"luminance": 0.06563
}Semantic roles & 50–950 ramp
primary
#2F34B9
secondary
#C9C67B
accent
#DD45E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82