#2B316A#2B316A
#2B316A is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.098 H 275.4°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2B316A |
|---|---|
| RGB | rgb(43, 49, 106) |
| HSL | hsl(234, 42%, 29%) |
| HSV | hsv(234, 59%, 42%) |
| CMYK | cmyk(59.4%, 53.8%, 0%, 58.4%) |
| CIE-LAB | lab(22.83, 16.10, -34.26) |
| CIE-LCH | lch(22.83, 37.85, 295.16°) |
| OKLab | oklab(34.1% 0.0092 -0.0979) |
| OKLCH | oklch(34.1% 0.098 275.4) |
| XYZ | xyz(4.6953, 3.7505, 14.1094) |
| Luminance | 0.0375 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.91
Navy Blue
#1B2A4A
ΔE00 6.74
Darkslateblue
#483D8B
ΔE00 7.32
Marine Blue
#01386A
ΔE00 7.77
Midnight Blue
#191970
ΔE00 7.97
Blueberry
#464196
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B316A #6A642B
analogous
#2B516A #2B316A #452B6A
triadic
#2B316A #6A2B31 #316A2B
tetradic
#2B316A #6A2B51 #6A642B #2B6A45
square
#2B316A #6A2B51 #6A642B #2B6A45
split-complementary
#2B316A #6A452B #516A2B
monochromatic
#090A16 #191D3E #2B316A #3D4596 #555FBA
Accessibility & contrast
On white
12.00
#2B316A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2B316A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B316A
12.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B316A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B316A | 1.00 | 12.00 | 1.75 | 12.00 |
| #FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#13396C
Deuteranopia (green-blind)
#083469
Tritanopia (blue-blind)
#073E48
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2b316a; /* rgb */ color: rgb(43, 49, 106); /* oklch */ color: oklch(34.1% 0.098 275.4);
Tailwind
colors: {
custom: {
50: '#6a6895',
500: '#2b316a',
950: '#000000',
},
}SCSS
$custom: #2b316a; $custom-light: #6a6895; $custom-dark: #000000;
JSON
{
"hex": "#2b316a",
"rgb": {
"r": 43,
"g": 49,
"b": 106
},
"hsl": {
"h": 234.286,
"s": 42.282,
"l": 29.216
},
"oklch": {
"l": 0.34095,
"c": 0.09836,
"h": 275.4
},
"luminance": 0.03751
}Semantic roles & 50–950 ramp
primary
#2B316A
secondary
#9C9555
accent
#C656D2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E