#2F306E#2F306E
#2F306E is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.5% C 0.105 H 278.7°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2F306E |
|---|---|
| RGB | rgb(47, 48, 110) |
| HSL | hsl(239, 40%, 31%) |
| HSV | hsv(239, 57%, 43%) |
| CMYK | cmyk(57.3%, 56.4%, 0%, 56.9%) |
| CIE-LAB | lab(23.15, 19.14, -36.31) |
| CIE-LCH | lch(23.15, 41.05, 297.79°) |
| OKLab | oklab(34.51% 0.0158 -0.1038) |
| OKLCH | oklch(34.51% 0.105 278.7) |
| XYZ | xyz(5.0428, 3.8437, 15.2250) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.43
Marine
#042E60
ΔE00 7.04
Midnight Blue
#191970
ΔE00 7.24
Navy Blue
#1B2A4A
ΔE00 7.81
Blueberry
#464196
ΔE00 7.88
Marine Blue
#01386A
ΔE00 8.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F306E #6E6D2F
analogous
#2F4F6E #2F306E #4D2F6E
triadic
#2F306E #6E2F30 #306E2F
tetradic
#2F306E #6E2F4F #6E6D2F #2F6E4D
square
#2F306E #6E2F4F #6E6D2F #2F6E4D
split-complementary
#2F306E #6E4D2F #4F6E2F
monochromatic
#0A0B18 #1D1D43 #2F306E #414399 #5D5FBA
Accessibility & contrast
On white
11.87
#2F306E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2F306E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F306E
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F306E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F306E | 1.00 | 11.87 | 1.77 | 11.87 |
| #FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B3A70
Deuteranopia (green-blind)
#01356D
Tritanopia (blue-blind)
#113E4A
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2f306e; /* rgb */ color: rgb(47, 48, 110); /* oklch */ color: oklch(34.5% 0.105 278.7);
Tailwind
colors: {
custom: {
50: '#6d6898',
500: '#2f306e',
950: '#000000',
},
}SCSS
$custom: #2f306e; $custom-light: #6d6898; $custom-dark: #000000;
JSON
{
"hex": "#2f306e",
"rgb": {
"r": 47,
"g": 48,
"b": 110
},
"hsl": {
"h": 239.048,
"s": 40.127,
"l": 30.784
},
"oklch": {
"l": 0.34508,
"c": 0.10505,
"h": 278.7
},
"luminance": 0.03844
}Semantic roles & 50–950 ramp
primary
#2F306E
secondary
#9F9E59
accent
#CE58D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E