#2F36A7#2F36A7
#2F36A7 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.178 H 272.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2F36A7 |
|---|---|
| RGB | rgb(47, 54, 167) |
| HSL | hsl(237, 56%, 42%) |
| HSV | hsv(237, 72%, 65%) |
| CMYK | cmyk(71.9%, 67.7%, 0%, 34.5%) |
| CIE-LAB | lab(29.49, 35.66, -61.40) |
| CIE-LCH | lch(29.49, 71.01, 300.15°) |
| OKLab | oklab(40.68% 0.0083 -0.1775) |
| OKLCH | oklch(40.68% 0.178 272.7) |
| XYZ | xyz(9.4642, 6.0318, 37.2172) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.62
Blueberry
#464196
ΔE00 5.14
Ocean Blue
#4F42B5
ΔE00 5.38
Blue Blue
#2242C7
ΔE00 5.40
Darkslateblue
#483D8B
ΔE00 6.39
Blue With A Hint Of Purple
#533CC6
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F36A7 #A7A02F
analogous
#2F72A7 #2F36A7 #642FA7
triadic
#2F36A7 #A72F36 #36A72F
tetradic
#2F36A7 #A72F72 #A7A02F #2FA764
square
#2F36A7 #A72F72 #A7A02F #2FA764
split-complementary
#2F36A7 #A7642F #72A72F
monochromatic
#141747 #222777 #2F36A7 #484FCB #787DD9
Accessibility & contrast
On white
9.52
#2F36A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2F36A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F36A7
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F36A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F36A7 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#0040A5
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f36a7; /* rgb */ color: rgb(47, 54, 167); /* oklch */ color: oklch(40.7% 0.178 272.7);
Tailwind
colors: {
custom: {
50: '#796dc2',
500: '#2f36a7',
950: '#000000',
},
}SCSS
$custom: #2f36a7; $custom-light: #796dc2; $custom-dark: #000000;
JSON
{
"hex": "#2f36a7",
"rgb": {
"r": 47,
"g": 54,
"b": 167
},
"hsl": {
"h": 236.5,
"s": 56.075,
"l": 41.961
},
"oklch": {
"l": 0.40678,
"c": 0.17767,
"h": 272.7
},
"luminance": 0.06033
}Semantic roles & 50–950 ramp
primary
#2F36A7
secondary
#C1BC71
accent
#D748DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82