#2F3DB0#2F3DB0
#2F3DB0 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.181 H 270.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3DB0 |
|---|---|
| RGB | rgb(47, 61, 176) |
| HSL | hsl(233, 58%, 44%) |
| HSV | hsv(233, 73%, 69%) |
| CMYK | cmyk(73.3%, 65.3%, 0%, 31%) |
| CIE-LAB | lab(31.98, 34.44, -62.72) |
| CIE-LCH | lch(31.98, 71.55, 298.77°) |
| OKLab | oklab(42.74% 0.003 -0.1813) |
| OKLCH | oklch(42.74% 0.181 270.9) |
| XYZ | xyz(10.6748, 7.0753, 41.8690) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.87
Blue Blue
#2242C7
ΔE00 3.34
Ocean Blue
#4F42B5
ΔE00 4.42
Blueberry
#464196
ΔE00 5.20
Cobalt
#0047AB
ΔE00 5.68
Blue With A Hint Of Purple
#533CC6
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3DB0 #B0A22F
analogous
#2F7DB0 #2F3DB0 #612FB0
triadic
#2F3DB0 #B02F3D #3DB02F
tetradic
#2F3DB0 #B02F7D #B0A22F #2FB061
square
#2F3DB0 #B02F7D #B0A22F #2FB061
split-complementary
#2F3DB0 #B0612F #7DB02F
monochromatic
#151C4F #222C80 #2F3DB0 #4D5BCF #7D87DC
Accessibility & contrast
On white
8.69
#2F3DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#2F3DB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3DB0
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3DB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3DB0 | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f3db0; /* rgb */ color: rgb(47, 61, 176); /* oklch */ color: oklch(42.7% 0.181 270.9);
Tailwind
colors: {
custom: {
50: '#7b72c9',
500: '#2f3db0',
950: '#000000',
},
}SCSS
$custom: #2f3db0; $custom-light: #7b72c9; $custom-dark: #000000;
JSON
{
"hex": "#2f3db0",
"rgb": {
"r": 47,
"g": 61,
"b": 176
},
"hsl": {
"h": 233.488,
"s": 57.848,
"l": 43.725
},
"oklch": {
"l": 0.42741,
"c": 0.18131,
"h": 270.9
},
"luminance": 0.07076
}Semantic roles & 50–950 ramp
primary
#2F3DB0
secondary
#C5BC76
accent
#D047E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82