#2B188E#2B188E
#2B188E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.5% C 0.178 H 278.1°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2B188E |
|---|---|
| RGB | rgb(43, 24, 142) |
| HSL | hsl(250, 71%, 33%) |
| HSV | hsv(250, 83%, 56%) |
| CMYK | cmyk(69.7%, 83.1%, 0%, 44.3%) |
| CIE-LAB | lab(20.52, 43.92, -60.90) |
| CIE-LCH | lch(20.52, 75.09, 305.80°) |
| OKLab | oklab(33.45% 0.025 -0.1759) |
| OKLCH | oklch(33.45% 0.178 278.1) |
| XYZ | xyz(6.2038, 3.1193, 25.8611) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.37
Indigo (survey)
#380282
ΔE00 4.04
Cobalt Blue
#030AA7
ΔE00 4.11
Darkblue
#00008B
ΔE00 4.44
Royal Blue (survey)
#0504AA
ΔE00 4.55
Ultramarine
#2000B1
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B188E #7B8E18
analogous
#18408E #2B188E #66188E
triadic
#2B188E #8E2B18 #188E2B
tetradic
#2B188E #8E1840 #7B8E18 #188E66
square
#2B188E #8E1840 #7B8E18 #188E66
split-complementary
#2B188E #8E6618 #408E18
monochromatic
#0B0625 #1B0F5A #2B188E #3B21C2 #5B41DF
Accessibility & contrast
On white
12.93
#2B188E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2B188E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B188E
12.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B188E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B188E | 1.00 | 12.93 | 1.62 | 12.93 |
| #FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002D8C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2b188e; /* rgb */ color: rgb(43, 24, 142); /* oklch */ color: oklch(33.5% 0.178 278.1);
Tailwind
colors: {
custom: {
50: '#7459b0',
500: '#2b188e',
950: '#000000',
},
}SCSS
$custom: #2b188e; $custom-light: #7459b0; $custom-dark: #000000;
JSON
{
"hex": "#2b188e",
"rgb": {
"r": 43,
"g": 24,
"b": 142
},
"hsl": {
"h": 249.661,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.3345,
"c": 0.17768,
"h": 278.1
},
"luminance": 0.0312
}Semantic roles & 50–950 ramp
primary
#2B188E
secondary
#ABC042
accent
#EE3AD1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980