#2F2C74#2F2C74
#2F2C74 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.2% C 0.120 H 279.8°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2C74 |
|---|---|
| RGB | rgb(47, 44, 116) |
| HSL | hsl(243, 45%, 31%) |
| HSV | hsv(243, 62%, 45%) |
| CMYK | cmyk(59.5%, 62.1%, 0%, 54.5%) |
| CIE-LAB | lab(22.54, 24.01, -41.15) |
| CIE-LCH | lch(22.54, 47.64, 300.26°) |
| OKLab | oklab(34.2% 0.0205 -0.1181) |
| OKLCH | oklch(34.2% 0.12 279.8) |
| XYZ | xyz(5.2244, 3.6663, 16.9520) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.56
Darkslateblue
#483D8B
ΔE00 6.24
Blueberry
#464196
ΔE00 7.67
Marine
#042E60
ΔE00 8.08
Royal
#0C1793
ΔE00 8.18
Sapphire (survey)
#2138AB
ΔE00 9.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2C74 #71742C
analogous
#2C4D74 #2F2C74 #532C74
triadic
#2F2C74 #742F2C #2C742F
tetradic
#2F2C74 #742C4D #71742C #2C7453
square
#2F2C74 #742C4D #71742C #2C7453
split-complementary
#2F2C74 #74532C #4D742C
monochromatic
#0B0A1B #1D1B48 #2F2C74 #413DA0 #5E5AC0
Accessibility & contrast
On white
12.11
#2F2C74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2F2C74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2C74
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2C74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2C74 | 1.00 | 12.11 | 1.73 | 12.11 |
| #FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#083D4B
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2f2c74; /* rgb */ color: rgb(47, 44, 116); /* oklch */ color: oklch(34.2% 0.120 279.8);
Tailwind
colors: {
custom: {
50: '#6f659d',
500: '#2f2c74',
950: '#000000',
},
}SCSS
$custom: #2f2c74; $custom-light: #6f659d; $custom-dark: #000000;
JSON
{
"hex": "#2f2c74",
"rgb": {
"r": 47,
"g": 44,
"b": 116
},
"hsl": {
"h": 242.5,
"s": 45,
"l": 31.373
},
"oklch": {
"l": 0.34201,
"c": 0.11988,
"h": 279.8
},
"luminance": 0.03667
}Semantic roles & 50–950 ramp
primary
#2F2C74
secondary
#A2A656
accent
#D553CF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E