#2B336F#2B336F
#2B336F is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.103 H 274.1°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2B336F |
|---|---|
| RGB | rgb(43, 51, 111) |
| HSL | hsl(233, 44%, 30%) |
| HSV | hsv(233, 61%, 44%) |
| CMYK | cmyk(61.3%, 54.1%, 0%, 56.5%) |
| CIE-LAB | lab(23.77, 16.55, -35.97) |
| CIE-LCH | lch(23.77, 39.60, 294.70°) |
| OKLab | oklab(34.92% 0.0073 -0.1029) |
| OKLCH | oklch(34.92% 0.103 274.1) |
| XYZ | xyz(5.0484, 4.0286, 15.5474) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.83
Darkslateblue
#483D8B
ΔE00 6.73
Marine Blue
#01386A
ΔE00 7.27
Navy Blue
#1B2A4A
ΔE00 7.32
Blueberry
#464196
ΔE00 7.78
Midnight Blue
#191970
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B336F #6F672B
analogous
#2B556F #2B336F #452B6F
triadic
#2B336F #6F2B33 #336F2B
tetradic
#2B336F #6F2B55 #6F672B #2B6F45
square
#2B336F #6F2B55 #6F672B #2B6F45
split-complementary
#2B336F #6F452B #556F2B
monochromatic
#090A17 #1A1F43 #2B336F #3C479B #5763BE
Accessibility & contrast
On white
11.63
#2B336F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2B336F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B336F
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B336F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B336F | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#123C71
Deuteranopia (green-blind)
#04366E
Tritanopia (blue-blind)
#00414B
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2b336f; /* rgb */ color: rgb(43, 51, 111); /* oklch */ color: oklch(34.9% 0.103 274.1);
Tailwind
colors: {
custom: {
50: '#6b6a99',
500: '#2b336f',
950: '#000000',
},
}SCSS
$custom: #2b336f; $custom-light: #6b6a99; $custom-dark: #000000;
JSON
{
"hex": "#2b336f",
"rgb": {
"r": 43,
"g": 51,
"b": 111
},
"hsl": {
"h": 232.941,
"s": 44.156,
"l": 30.196
},
"oklch": {
"l": 0.34917,
"c": 0.1032,
"h": 274.1
},
"luminance": 0.04029
}Semantic roles & 50–950 ramp
primary
#2B336F
secondary
#A19855
accent
#C554D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E