#2B396B#2B396B
#2B396B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.088 H 269.8°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2B396B |
|---|---|
| RGB | rgb(43, 57, 107) |
| HSL | hsl(227, 43%, 29%) |
| HSV | hsv(227, 60%, 42%) |
| CMYK | cmyk(59.8%, 46.7%, 0%, 58%) |
| CIE-LAB | lab(25.26, 10.88, -31.00) |
| CIE-LCH | lch(25.26, 32.86, 289.34°) |
| OKLab | oklab(35.97% -0.0004 -0.0883) |
| OKLCH | oklch(35.97% 0.088 269.8) |
| XYZ | xyz(5.1123, 4.5010, 14.5064) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.37
Marine Blue
#01386A
ΔE00 5.87
Navy Blue
#1B2A4A
ΔE00 6.71
Darkish Blue
#014182
ΔE00 6.97
Twilight Blue
#0A437A
ΔE00 7.18
Cobalt (survey)
#1E488F
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B396B #6B5D2B
analogous
#2B596B #2B396B #3D2B6B
triadic
#2B396B #6B2B39 #396B2B
tetradic
#2B396B #6B2B59 #6B5D2B #2B6B3D
square
#2B396B #6B2B59 #6B5D2B #2B6B3D
split-complementary
#2B396B #6B3D2B #596B2B
monochromatic
#090C16 #19223F #2B396B #3D5097 #566CBB
Accessibility & contrast
On white
11.05
#2B396B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2B396B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B396B
11.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B396B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B396B | 1.00 | 11.05 | 1.90 | 11.05 |
| #FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#233F6D
Deuteranopia (green-blind)
#1A396A
Tritanopia (blue-blind)
#03444C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2b396b; /* rgb */ color: rgb(43, 57, 107); /* oklch */ color: oklch(36.0% 0.088 269.8);
Tailwind
colors: {
custom: {
50: '#6a6f96',
500: '#2b396b',
950: '#000000',
},
}SCSS
$custom: #2b396b; $custom-light: #6a6f96; $custom-dark: #000000;
JSON
{
"hex": "#2b396b",
"rgb": {
"r": 43,
"g": 57,
"b": 107
},
"hsl": {
"h": 226.875,
"s": 42.667,
"l": 29.412
},
"oklch": {
"l": 0.35966,
"c": 0.08827,
"h": 269.8
},
"luminance": 0.04501
}Semantic roles & 50–950 ramp
primary
#2B396B
secondary
#9D8D55
accent
#B755D2
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070D
muted
#7A7A7E