#2F34B4#2F34B4
#2F34B4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.197 H 272.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2F34B4 |
|---|---|
| RGB | rgb(47, 52, 180) |
| HSL | hsl(238, 59%, 45%) |
| HSV | hsv(238, 74%, 71%) |
| CMYK | cmyk(73.9%, 71.1%, 0%, 29.4%) |
| CIE-LAB | lab(30.29, 41.42, -67.87) |
| CIE-LCH | lch(30.29, 79.51, 301.39°) |
| OKLab | oklab(41.63% 0.0079 -0.1964) |
| OKLCH | oklch(41.63% 0.197 272.3) |
| XYZ | xyz(10.6357, 6.3545, 43.8372) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.54
Blue Blue
#2242C7
ΔE00 4.72
Ocean Blue
#4F42B5
ΔE00 5.08
Blue With A Hint Of Purple
#533CC6
ΔE00 5.47
Indigo Blue
#3A18B1
ΔE00 5.95
Blurple
#5539CC
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F34B4 #B4AF2F
analogous
#2F77B4 #2F34B4 #6C2FB4
triadic
#2F34B4 #B42F34 #34B42F
tetradic
#2F34B4 #B42F77 #B4AF2F #2FB46C
square
#2F34B4 #B42F77 #B4AF2F #2FB46C
split-complementary
#2F34B4 #B46C2F #77B42F
monochromatic
#161853 #222683 #2F34B4 #4F54D1 #8083DE
Accessibility & contrast
On white
9.25
#2F34B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2F34B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F34B4
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F34B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F34B4 | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f34b4; /* rgb */ color: rgb(47, 52, 180); /* oklch */ color: oklch(41.6% 0.197 272.3);
Tailwind
colors: {
custom: {
50: '#7c6ccc',
500: '#2f34b4',
950: '#000000',
},
}SCSS
$custom: #2f34b4; $custom-light: #7c6ccc; $custom-dark: #000000;
JSON
{
"hex": "#2f34b4",
"rgb": {
"r": 47,
"g": 52,
"b": 180
},
"hsl": {
"h": 237.744,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.41632,
"c": 0.19653,
"h": 272.3
},
"luminance": 0.06356
}Semantic roles & 50–950 ramp
primary
#2F34B4
secondary
#C7C478
accent
#DC46E2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82