#2F38B0#2F38B0
#2F38B0 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.187 H 271.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2F38B0 |
|---|---|
| RGB | rgb(47, 56, 176) |
| HSL | hsl(236, 58%, 44%) |
| HSV | hsv(236, 73%, 69%) |
| CMYK | cmyk(73.3%, 68.2%, 0%, 31%) |
| CIE-LAB | lab(30.80, 37.59, -64.65) |
| CIE-LCH | lch(30.80, 74.78, 300.17°) |
| OKLab | oklab(41.88% 0.0061 -0.187) |
| OKLCH | oklch(41.88% 0.187 271.9) |
| XYZ | xyz(10.4203, 6.5662, 41.7841) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.66
Blue Blue
#2242C7
ΔE00 4.17
Ocean Blue
#4F42B5
ΔE00 4.70
Blueberry
#464196
ΔE00 5.61
Blue With A Hint Of Purple
#533CC6
ΔE00 5.72
Blurple
#5539CC
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F38B0 #B0A72F
analogous
#2F78B0 #2F38B0 #662FB0
triadic
#2F38B0 #B02F38 #38B02F
tetradic
#2F38B0 #B02F78 #B0A72F #2FB066
square
#2F38B0 #B02F78 #B0A72F #2FB066
split-complementary
#2F38B0 #B0662F #78B02F
monochromatic
#15194F #222980 #2F38B0 #4D56CF #7D84DC
Accessibility & contrast
On white
9.08
#2F38B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2F38B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F38B0
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F38B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F38B0 | 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)
#004FB4
Deuteranopia (green-blind)
#0042AE
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f38b0; /* rgb */ color: rgb(47, 56, 176); /* oklch */ color: oklch(41.9% 0.187 271.9);
Tailwind
colors: {
custom: {
50: '#7b6fc9',
500: '#2f38b0',
950: '#000000',
},
}SCSS
$custom: #2f38b0; $custom-light: #7b6fc9; $custom-dark: #000000;
JSON
{
"hex": "#2f38b0",
"rgb": {
"r": 47,
"g": 56,
"b": 176
},
"hsl": {
"h": 235.814,
"s": 57.848,
"l": 43.725
},
"oklch": {
"l": 0.41882,
"c": 0.18707,
"h": 271.9
},
"luminance": 0.06567
}Semantic roles & 50–950 ramp
primary
#2F38B0
secondary
#C5BF76
accent
#D647E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82