#2F306F#2F306F
#2F306F is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.107 H 278.6°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F306F |
|---|---|
| RGB | rgb(47, 48, 111) |
| HSL | hsl(239, 41%, 31%) |
| HSV | hsv(239, 58%, 44%) |
| CMYK | cmyk(57.7%, 56.8%, 0%, 56.5%) |
| CIE-LAB | lab(23.22, 19.50, -36.83) |
| CIE-LCH | lch(23.22, 41.68, 297.89°) |
| OKLab | oklab(34.59% 0.0159 -0.1054) |
| OKLCH | oklch(34.59% 0.107 278.6) |
| XYZ | xyz(5.0976, 3.8656, 15.5134) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.31
Marine
#042E60
ΔE00 7.08
Midnight Blue
#191970
ΔE00 7.14
Blueberry
#464196
ΔE00 7.75
Navy Blue
#1B2A4A
ΔE00 7.95
Marine Blue
#01386A
ΔE00 8.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F306F #6F6E2F
analogous
#2F506F #2F306F #4E2F6F
triadic
#2F306F #6F2F30 #306F2F
tetradic
#2F306F #6F2F50 #6F6E2F #2F6F4E
square
#2F306F #6F2F50 #6F6E2F #2F6F4E
split-complementary
#2F306F #6F4E2F #506F2F
monochromatic
#0B0B19 #1D1D44 #2F306F #41439A #5E5FBB
Accessibility & contrast
On white
11.84
#2F306F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2F306F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F306F
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F306F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F306F | 1.00 | 11.84 | 1.77 | 11.84 |
| #FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#093A71
Deuteranopia (green-blind)
#00356E
Tritanopia (blue-blind)
#103E4A
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f306f; /* rgb */ color: rgb(47, 48, 111); /* oklch */ color: oklch(34.6% 0.107 278.6);
Tailwind
colors: {
custom: {
50: '#6e6899',
500: '#2f306f',
950: '#000000',
},
}SCSS
$custom: #2f306f; $custom-light: #6e6899; $custom-dark: #000000;
JSON
{
"hex": "#2f306f",
"rgb": {
"r": 47,
"g": 48,
"b": 111
},
"hsl": {
"h": 239.063,
"s": 40.506,
"l": 30.98
},
"oklch": {
"l": 0.34587,
"c": 0.10658,
"h": 278.6
},
"luminance": 0.03866
}Semantic roles & 50–950 ramp
primary
#2F306F
secondary
#A09F59
accent
#CE57D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E