#2F36B6#2F36B6
#2F36B6 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.1% C 0.197 H 271.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F36B6 |
|---|---|
| RGB | rgb(47, 54, 182) |
| HSL | hsl(237, 59%, 45%) |
| HSV | hsv(237, 74%, 71%) |
| CMYK | cmyk(74.2%, 70.3%, 0%, 28.6%) |
| CIE-LAB | lab(30.92, 40.91, -68.02) |
| CIE-LCH | lch(30.92, 79.37, 301.02°) |
| OKLab | oklab(42.15% 0.0066 -0.1968) |
| OKLCH | oklch(42.15% 0.197 271.9) |
| XYZ | xyz(10.9321, 6.6189, 44.9483) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.44
Blue Blue
#2242C7
ΔE00 4.14
Ocean Blue
#4F42B5
ΔE00 4.76
Blue With A Hint Of Purple
#533CC6
ΔE00 5.21
Blurple
#5539CC
ΔE00 5.76
Blue (survey)
#0343DF
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F36B6 #B6AF2F
analogous
#2F79B6 #2F36B6 #6C2FB6
triadic
#2F36B6 #B62F36 #36B62F
tetradic
#2F36B6 #B62F79 #B6AF2F #2FB66C
square
#2F36B6 #B62F79 #B6AF2F #2FB66C
split-complementary
#2F36B6 #B66C2F #79B62F
monochromatic
#161955 #222885 #2F36B6 #5057D2 #8186DE
Accessibility & contrast
On white
9.04
#2F36B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F36B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F36B6
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F36B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F36B6 | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FBA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f36b6; /* rgb */ color: rgb(47, 54, 182); /* oklch */ color: oklch(42.1% 0.197 271.9);
Tailwind
colors: {
custom: {
50: '#7d6ecd',
500: '#2f36b6',
950: '#000000',
},
}SCSS
$custom: #2f36b6; $custom-light: #7d6ecd; $custom-dark: #000000;
JSON
{
"hex": "#2f36b6",
"rgb": {
"r": 47,
"g": 54,
"b": 182
},
"hsl": {
"h": 236.889,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.42147,
"c": 0.19691,
"h": 271.9
},
"luminance": 0.0662
}Semantic roles & 50–950 ramp
primary
#2F36B6
secondary
#C7C379
accent
#DA46E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82