#2B238E#2B238E
#2B238E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.167 H 276.6°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2B238E |
|---|---|
| RGB | rgb(43, 35, 142) |
| HSL | hsl(244, 60%, 35%) |
| HSV | hsv(244, 75%, 56%) |
| CMYK | cmyk(69.7%, 75.4%, 0%, 44.3%) |
| CIE-LAB | lab(22.54, 38.11, -57.55) |
| CIE-LCH | lch(22.54, 69.03, 303.51°) |
| OKLab | oklab(34.87% 0.0192 -0.1663) |
| OKLCH | oklch(34.87% 0.167 276.6) |
| XYZ | xyz(6.4782, 3.6681, 25.9526) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.34
Midnight Blue
#191970
ΔE00 5.23
Cobalt Blue
#030AA7
ΔE00 5.54
Indigo Blue
#3A18B1
ΔE00 5.66
Royal Blue (survey)
#0504AA
ΔE00 6.08
Indigo (survey)
#380282
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B238E #868E23
analogous
#23518E #2B238E #61238E
triadic
#2B238E #8E2B23 #238E2B
tetradic
#2B238E #8E2351 #868E23 #238E61
square
#2B238E #8E2351 #868E23 #238E61
split-complementary
#2B238E #8E6123 #518E23
monochromatic
#0D0B2C #1C175D #2B238E #3A2FBF #6056D5
Accessibility & contrast
On white
12.11
#2B238E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2B238E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B238E
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B238E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B238E | 1.00 | 12.11 | 1.73 | 12.11 |
| #FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2b238e; /* rgb */ color: rgb(43, 35, 142); /* oklch */ color: oklch(34.9% 0.167 276.6);
Tailwind
colors: {
custom: {
50: '#7360b0',
500: '#2b238e',
950: '#000000',
},
}SCSS
$custom: #2b238e; $custom-light: #7360b0; $custom-dark: #000000;
JSON
{
"hex": "#2b238e",
"rgb": {
"r": 43,
"g": 35,
"b": 142
},
"hsl": {
"h": 244.486,
"s": 60.452,
"l": 34.706
},
"oklch": {
"l": 0.34869,
"c": 0.1674,
"h": 276.6
},
"luminance": 0.03669
}Semantic roles & 50–950 ramp
primary
#2B238E
secondary
#B2B953
accent
#E444D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980