#2F366A#2F366A
#2F366A is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.090 H 275.1°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2F366A |
|---|---|
| RGB | rgb(47, 54, 106) |
| HSL | hsl(233, 39%, 30%) |
| HSV | hsv(233, 56%, 42%) |
| CMYK | cmyk(55.7%, 49.1%, 0%, 58.4%) |
| CIE-LAB | lab(24.59, 13.55, -31.43) |
| CIE-LCH | lch(24.59, 34.23, 293.33°) |
| OKLab | oklab(35.5% 0.008 -0.0894) |
| OKLCH | oklch(35.5% 0.09 275.1) |
| XYZ | xyz(5.0921, 4.2829, 14.1912) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.25
Navy Blue
#1B2A4A
ΔE00 6.82
Darkslateblue
#483D8B
ΔE00 7.15
Marine Blue
#01386A
ΔE00 7.47
Blueberry
#464196
ΔE00 8.30
Darkish Blue
#014182
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F366A #6A632F
analogous
#2F546A #2F366A #452F6A
triadic
#2F366A #6A2F36 #366A2F
tetradic
#2F366A #6A2F54 #6A632F #2F6A45
square
#2F366A #6A2F54 #6A632F #2F6A45
split-complementary
#2F366A #6A452F #546A2F
monochromatic
#090B15 #1C2040 #2F366A #424C94 #5C67B7
Accessibility & contrast
On white
11.31
#2F366A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2F366A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F366A
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F366A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F366A | 1.00 | 11.31 | 1.86 | 11.31 |
| #FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3D6C
Deuteranopia (green-blind)
#183869
Tritanopia (blue-blind)
#14414B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2f366a; /* rgb */ color: rgb(47, 54, 106); /* oklch */ color: oklch(35.5% 0.090 275.1);
Tailwind
colors: {
custom: {
50: '#6c6c95',
500: '#2f366a',
950: '#000000',
},
}SCSS
$custom: #2f366a; $custom-light: #6c6c95; $custom-dark: #000000;
JSON
{
"hex": "#2f366a",
"rgb": {
"r": 47,
"g": 54,
"b": 106
},
"hsl": {
"h": 232.881,
"s": 38.562,
"l": 30
},
"oklch": {
"l": 0.35502,
"c": 0.0898,
"h": 275.1
},
"luminance": 0.04283
}Semantic roles & 50–950 ramp
primary
#2F366A
secondary
#9B9459
accent
#C159CE
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07070D
muted
#7A7A7E