#2F36AB#2F36AB
#2F36AB is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.1% C 0.183 H 272.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2F36AB |
|---|---|
| RGB | rgb(47, 54, 171) |
| HSL | hsl(237, 57%, 43%) |
| HSV | hsv(237, 73%, 67%) |
| CMYK | cmyk(72.5%, 68.4%, 0%, 32.9%) |
| CIE-LAB | lab(29.87, 37.07, -63.19) |
| CIE-LCH | lch(29.87, 73.26, 300.40°) |
| OKLab | oklab(41.06% 0.0079 -0.1827) |
| OKLCH | oklch(41.06% 0.183 272.5) |
| XYZ | xyz(9.8397, 6.1820, 39.1949) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.63
Blue Blue
#2242C7
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 5.15
Blueberry
#464196
ΔE00 5.44
Blue With A Hint Of Purple
#533CC6
ΔE00 6.24
Indigo Blue
#3A18B1
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F36AB #ABA42F
analogous
#2F74AB #2F36AB #662FAB
triadic
#2F36AB #AB2F36 #36AB2F
tetradic
#2F36AB #AB2F74 #ABA42F #2FAB66
square
#2F36AB #AB2F74 #ABA42F #2FAB66
split-complementary
#2F36AB #AB662F #74AB2F
monochromatic
#15184B #22277B #2F36AB #4A51CD #7A7FDA
Accessibility & contrast
On white
9.39
#2F36AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2F36AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F36AB
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F36AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F36AB | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f36ab; /* rgb */ color: rgb(47, 54, 171); /* oklch */ color: oklch(41.1% 0.183 272.5);
Tailwind
colors: {
custom: {
50: '#7a6dc5',
500: '#2f36ab',
950: '#000000',
},
}SCSS
$custom: #2f36ab; $custom-light: #7a6dc5; $custom-dark: #000000;
JSON
{
"hex": "#2f36ab",
"rgb": {
"r": 47,
"g": 54,
"b": 171
},
"hsl": {
"h": 236.613,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.41064,
"c": 0.18288,
"h": 272.5
},
"luminance": 0.06183
}Semantic roles & 50–950 ramp
primary
#2F36AB
secondary
#C3BE73
accent
#D848E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82