#2F34B1#2F34B1
#2F34B1 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.3% C 0.193 H 272.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F34B1 |
|---|---|
| RGB | rgb(47, 52, 177) |
| HSL | hsl(238, 58%, 44%) |
| HSV | hsv(238, 73%, 69%) |
| CMYK | cmyk(73.4%, 70.6%, 0%, 30.6%) |
| CIE-LAB | lab(29.99, 40.39, -66.57) |
| CIE-LCH | lch(29.99, 77.86, 301.24°) |
| OKLab | oklab(41.33% 0.0083 -0.1926) |
| OKLCH | oklch(41.33% 0.193 272.5) |
| XYZ | xyz(10.3334, 6.2336, 42.2451) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.31
Blue Blue
#2242C7
ΔE00 4.92
Ocean Blue
#4F42B5
ΔE00 5.16
Blue With A Hint Of Purple
#533CC6
ΔE00 5.73
Indigo Blue
#3A18B1
ΔE00 5.98
Blueberry
#464196
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F34B1 #B1AC2F
analogous
#2F75B1 #2F34B1 #6B2FB1
triadic
#2F34B1 #B12F34 #34B12F
tetradic
#2F34B1 #B12F75 #B1AC2F #2FB16B
square
#2F34B1 #B12F75 #B1AC2F #2FB16B
split-complementary
#2F34B1 #B16B2F #75B12F
monochromatic
#151850 #222681 #2F34B1 #4D52D0 #7E81DD
Accessibility & contrast
On white
9.35
#2F34B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2F34B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F34B1
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F34B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F34B1 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f34b1; /* rgb */ color: rgb(47, 52, 177); /* oklch */ color: oklch(41.3% 0.193 272.5);
Tailwind
colors: {
custom: {
50: '#7c6cc9',
500: '#2f34b1',
950: '#000000',
},
}SCSS
$custom: #2f34b1; $custom-light: #7c6cc9; $custom-dark: #000000;
JSON
{
"hex": "#2f34b1",
"rgb": {
"r": 47,
"g": 52,
"b": 177
},
"hsl": {
"h": 237.692,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.41331,
"c": 0.19276,
"h": 272.5
},
"luminance": 0.06235
}Semantic roles & 50–950 ramp
primary
#2F34B1
secondary
#C5C276
accent
#DB47E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82