#2F36AE#2F36AE
#2F36AE is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.187 H 272.3°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F36AE |
|---|---|
| RGB | rgb(47, 54, 174) |
| HSL | hsl(237, 57%, 43%) |
| HSV | hsv(237, 73%, 68%) |
| CMYK | cmyk(73%, 69%, 0%, 31.8%) |
| CIE-LAB | lab(30.15, 38.13, -64.52) |
| CIE-LCH | lch(30.15, 74.94, 300.58°) |
| OKLab | oklab(41.36% 0.0076 -0.1866) |
| OKLCH | oklch(41.36% 0.187 272.3) |
| XYZ | xyz(10.1289, 6.2976, 40.7180) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.76
Blue Blue
#2242C7
ΔE00 4.74
Ocean Blue
#4F42B5
ΔE00 5.00
Blueberry
#464196
ΔE00 5.69
Blue With A Hint Of Purple
#533CC6
ΔE00 5.94
Blurple
#5539CC
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F36AE #AEA72F
analogous
#2F75AE #2F36AE #672FAE
triadic
#2F36AE #AE2F36 #36AE2F
tetradic
#2F36AE #AE2F75 #AEA72F #2FAE67
square
#2F36AE #AE2F75 #AEA72F #2FAE67
split-complementary
#2F36AE #AE672F #75AE2F
monochromatic
#15184E #22277E #2F36AE #4C53CF #7C81DC
Accessibility & contrast
On white
9.29
#2F36AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2F36AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F36AE
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F36AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F36AE | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f36ae; /* rgb */ color: rgb(47, 54, 174); /* oklch */ color: oklch(41.4% 0.187 272.3);
Tailwind
colors: {
custom: {
50: '#7b6dc7',
500: '#2f36ae',
950: '#000000',
},
}SCSS
$custom: #2f36ae; $custom-light: #7b6dc7; $custom-dark: #000000;
JSON
{
"hex": "#2f36ae",
"rgb": {
"r": 47,
"g": 54,
"b": 174
},
"hsl": {
"h": 236.693,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.41356,
"c": 0.18674,
"h": 272.3
},
"luminance": 0.06299
}Semantic roles & 50–950 ramp
primary
#2F36AE
secondary
#C4C075
accent
#D847E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82