#2F36B3#2F36B3
#2F36B3 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.193 H 272.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2F36B3 |
|---|---|
| RGB | rgb(47, 54, 179) |
| HSL | hsl(237, 58%, 44%) |
| HSV | hsv(237, 74%, 70%) |
| CMYK | cmyk(73.7%, 69.8%, 0%, 29.8%) |
| CIE-LAB | lab(30.63, 39.87, -66.71) |
| CIE-LCH | lch(30.63, 77.72, 300.86°) |
| OKLab | oklab(41.85% 0.007 -0.193) |
| OKLCH | oklch(41.85% 0.193 272.1) |
| XYZ | xyz(10.6254, 6.4962, 43.3330) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.15
Blue Blue
#2242C7
ΔE00 4.35
Ocean Blue
#4F42B5
ΔE00 4.83
Blue With A Hint Of Purple
#533CC6
ΔE00 5.47
Blurple
#5539CC
ΔE00 6.05
Blueberry
#464196
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F36B3 #B3AC2F
analogous
#2F78B3 #2F36B3 #6A2FB3
triadic
#2F36B3 #B32F36 #36B32F
tetradic
#2F36B3 #B32F78 #B3AC2F #2FB36A
square
#2F36B3 #B32F78 #B3AC2F #2FB36A
split-complementary
#2F36B3 #B36A2F #78B32F
monochromatic
#161952 #222783 #2F36B3 #4F55D1 #7F84DD
Accessibility & contrast
On white
9.13
#2F36B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2F36B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F36B3
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F36B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F36B3 | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0042B1
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f36b3; /* rgb */ color: rgb(47, 54, 179); /* oklch */ color: oklch(41.8% 0.193 272.1);
Tailwind
colors: {
custom: {
50: '#7c6ecb',
500: '#2f36b3',
950: '#000000',
},
}SCSS
$custom: #2f36b3; $custom-light: #7c6ecb; $custom-dark: #000000;
JSON
{
"hex": "#2f36b3",
"rgb": {
"r": 47,
"g": 54,
"b": 179
},
"hsl": {
"h": 236.818,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.41848,
"c": 0.19312,
"h": 272.1
},
"luminance": 0.06497
}Semantic roles & 50–950 ramp
primary
#2F36B3
secondary
#C6C278
accent
#D946E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82