#2F366C#2F366C
#2F366C is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.093 H 275.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2F366C |
|---|---|
| RGB | rgb(47, 54, 108) |
| HSL | hsl(233, 39%, 30%) |
| HSV | hsv(233, 56%, 42%) |
| CMYK | cmyk(56.5%, 50%, 0%, 57.6%) |
| CIE-LAB | lab(24.72, 14.27, -32.50) |
| CIE-LCH | lch(24.72, 35.50, 293.71°) |
| OKLab | oklab(35.64% 0.0083 -0.0926) |
| OKLCH | oklch(35.64% 0.093 275.1) |
| XYZ | xyz(5.1974, 4.3250, 14.7454) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.26
Darkslateblue
#483D8B
ΔE00 6.84
Navy Blue
#1B2A4A
ΔE00 7.09
Marine Blue
#01386A
ΔE00 7.44
Blueberry
#464196
ΔE00 7.96
Darkish Blue
#014182
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F366C #6C652F
analogous
#2F546C #2F366C #462F6C
triadic
#2F366C #6C2F36 #366C2F
tetradic
#2F366C #6C2F54 #6C652F #2F6C46
square
#2F366C #6C2F54 #6C652F #2F6C46
split-complementary
#2F366C #6C462F #546C2F
monochromatic
#0A0B17 #1C2141 #2F366C #424B97 #5D67B8
Accessibility & contrast
On white
11.26
#2F366C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2F366C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F366C
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F366C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F366C | 1.00 | 11.26 | 1.87 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D3D6E
Deuteranopia (green-blind)
#16386B
Tritanopia (blue-blind)
#12424B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f366c; /* rgb */ color: rgb(47, 54, 108); /* oklch */ color: oklch(35.6% 0.093 275.1);
Tailwind
colors: {
custom: {
50: '#6d6c96',
500: '#2f366c',
950: '#000000',
},
}SCSS
$custom: #2f366c; $custom-light: #6d6c96; $custom-dark: #000000;
JSON
{
"hex": "#2f366c",
"rgb": {
"r": 47,
"g": 54,
"b": 108
},
"hsl": {
"h": 233.115,
"s": 39.355,
"l": 30.392
},
"oklch": {
"l": 0.35645,
"c": 0.09296,
"h": 275.1
},
"luminance": 0.04325
}Semantic roles & 50–950 ramp
primary
#2F366C
secondary
#9D9659
accent
#C259CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E