#2F3072#2F3072
#2F3072 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.8% C 0.111 H 278.3°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3072 |
|---|---|
| RGB | rgb(47, 48, 114) |
| HSL | hsl(239, 42%, 32%) |
| HSV | hsv(239, 59%, 45%) |
| CMYK | cmyk(58.8%, 57.9%, 0%, 55.3%) |
| CIE-LAB | lab(23.45, 20.57, -38.39) |
| CIE-LCH | lch(23.45, 43.56, 298.18°) |
| OKLab | oklab(34.83% 0.016 -0.11) |
| OKLCH | oklch(34.83% 0.111 278.3) |
| XYZ | xyz(5.2655, 3.9328, 16.3980) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.99
Midnight Blue
#191970
ΔE00 6.89
Marine
#042E60
ΔE00 7.22
Blueberry
#464196
ΔE00 7.36
Navy Blue
#1B2A4A
ΔE00 8.35
Marine Blue
#01386A
ΔE00 8.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3072 #72712F
analogous
#2F5272 #2F3072 #502F72
triadic
#2F3072 #722F30 #30722F
tetradic
#2F3072 #722F52 #72712F #2F7250
square
#2F3072 #722F52 #72712F #2F7250
split-complementary
#2F3072 #72502F #52722F
monochromatic
#0B0C1B #1D1E47 #2F3072 #41429D #5F60BD
Accessibility & contrast
On white
11.75
#2F3072 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2F3072 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3072
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3072 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3072 | 1.00 | 11.75 | 1.79 | 11.75 |
| #FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#033B74
Deuteranopia (green-blind)
#003571
Tritanopia (blue-blind)
#0B3F4C
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2f3072; /* rgb */ color: rgb(47, 48, 114); /* oklch */ color: oklch(34.8% 0.111 278.3);
Tailwind
colors: {
custom: {
50: '#6e689b',
500: '#2f3072',
950: '#000000',
},
}SCSS
$custom: #2f3072; $custom-light: #6e689b; $custom-dark: #000000;
JSON
{
"hex": "#2f3072",
"rgb": {
"r": 47,
"g": 48,
"b": 114
},
"hsl": {
"h": 239.104,
"s": 41.615,
"l": 31.569
},
"oklch": {
"l": 0.34827,
"c": 0.11114,
"h": 278.3
},
"luminance": 0.03933
}Semantic roles & 50–950 ramp
primary
#2F3072
secondary
#A3A25A
accent
#D056D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E