#2F2C90#2F2C90
#2F2C90 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.159 H 276.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C90 |
|---|---|
| RGB | rgb(47, 44, 144) |
| HSL | hsl(242, 53%, 37%) |
| HSV | hsv(242, 69%, 56%) |
| CMYK | cmyk(67.4%, 69.4%, 0%, 43.5%) |
| CIE-LAB | lab(25.01, 33.86, -54.72) |
| CIE-LCH | lch(25.01, 64.35, 301.75°) |
| OKLab | oklab(36.77% 0.018 -0.1579) |
| OKLCH | oklch(36.77% 0.159 276.5) |
| XYZ | xyz(7.1054, 4.4187, 26.8586) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.21
Royal
#0C1793
ΔE00 5.38
Darkslateblue
#483D8B
ΔE00 6.06
Blueberry
#464196
ΔE00 6.34
Indigo Blue
#3A18B1
ΔE00 6.52
Midnight Blue
#191970
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C90 #8D902C
analogous
#2C5B90 #2F2C90 #612C90
triadic
#2F2C90 #902F2C #2C902F
tetradic
#2F2C90 #902C5B #8D902C #2C9061
square
#2F2C90 #902C5B #8D902C #2C9061
split-complementary
#2F2C90 #90612C #5B902C
monochromatic
#100F32 #201E61 #2F2C90 #3E3ABF #6966D0
Accessibility & contrast
On white
11.15
#2F2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2F2C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C90
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C90 | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f2c90; /* rgb */ color: rgb(47, 44, 144); /* oklch */ color: oklch(36.8% 0.159 276.5);
Tailwind
colors: {
custom: {
50: '#7566b1',
500: '#2f2c90',
950: '#000000',
},
}SCSS
$custom: #2f2c90; $custom-light: #7566b1; $custom-dark: #000000;
JSON
{
"hex": "#2f2c90",
"rgb": {
"r": 47,
"g": 44,
"b": 144
},
"hsl": {
"h": 241.8,
"s": 53.191,
"l": 36.863
},
"oklch": {
"l": 0.36773,
"c": 0.15897,
"h": 276.5
},
"luminance": 0.04419
}Semantic roles & 50–950 ramp
primary
#2F2C90
secondary
#B4B761
accent
#DD4BD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80