#2F36B4#2F36B4
#2F36B4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.9% C 0.194 H 272.0°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2F36B4 |
|---|---|
| RGB | rgb(47, 54, 180) |
| HSL | hsl(237, 59%, 45%) |
| HSV | hsv(237, 74%, 71%) |
| CMYK | cmyk(73.9%, 70%, 0%, 29.4%) |
| CIE-LAB | lab(30.73, 40.21, -67.15) |
| CIE-LCH | lch(30.73, 78.27, 300.92°) |
| OKLab | oklab(41.95% 0.0068 -0.1943) |
| OKLCH | oklch(41.95% 0.194 272) |
| XYZ | xyz(10.7269, 6.5368, 43.8676) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.24
Blue Blue
#2242C7
ΔE00 4.28
Ocean Blue
#4F42B5
ΔE00 4.80
Blue With A Hint Of Purple
#533CC6
ΔE00 5.38
Blurple
#5539CC
ΔE00 5.95
Blueberry
#464196
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F36B4 #B4AD2F
analogous
#2F79B4 #2F36B4 #6B2FB4
triadic
#2F36B4 #B42F36 #36B42F
tetradic
#2F36B4 #B42F79 #B4AD2F #2FB46B
square
#2F36B4 #B42F79 #B4AD2F #2FB46B
split-complementary
#2F36B4 #B46B2F #79B42F
monochromatic
#161953 #222783 #2F36B4 #4F56D1 #8085DE
Accessibility & contrast
On white
9.10
#2F36B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2F36B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F36B4
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F36B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F36B4 | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f36b4; /* rgb */ color: rgb(47, 54, 180); /* oklch */ color: oklch(41.9% 0.194 272.0);
Tailwind
colors: {
custom: {
50: '#7c6ecc',
500: '#2f36b4',
950: '#000000',
},
}SCSS
$custom: #2f36b4; $custom-light: #7c6ecc; $custom-dark: #000000;
JSON
{
"hex": "#2f36b4",
"rgb": {
"r": 47,
"g": 54,
"b": 180
},
"hsl": {
"h": 236.842,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.41947,
"c": 0.19438,
"h": 272
},
"luminance": 0.06538
}Semantic roles & 50–950 ramp
primary
#2F36B4
secondary
#C7C278
accent
#DA46E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82