#2B189F#2B189F
#2B189F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.198 H 275.7°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2B189F |
|---|---|
| RGB | rgb(43, 24, 159) |
| HSL | hsl(248, 74%, 36%) |
| HSV | hsv(248, 85%, 62%) |
| CMYK | cmyk(73%, 84.9%, 0%, 37.6%) |
| CIE-LAB | lab(22.55, 49.06, -68.02) |
| CIE-LCH | lch(22.55, 83.87, 305.80°) |
| OKLab | oklab(35.44% 0.0197 -0.1966) |
| OKLCH | oklch(35.44% 0.198 275.7) |
| XYZ | xyz(7.5789, 3.6693, 33.1030) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.77
Royal
#0C1793
ΔE00 2.93
Indigo Blue
#3A18B1
ΔE00 3.00
Royal Blue (survey)
#0504AA
ΔE00 3.14
Ultramarine
#2000B1
ΔE00 3.21
Darkblue
#00008B
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B189F #8C9F18
analogous
#18499F #2B189F #6E189F
triadic
#2B189F #9F2B18 #189F2B
tetradic
#2B189F #9F1849 #8C9F18 #189F6E
square
#2B189F #9F1849 #8C9F18 #189F6E
split-complementary
#2B189F #9F6E18 #499F18
monochromatic
#0E0835 #1D106A #2B189F #3920D4 #624DE4
Accessibility & contrast
On white
12.11
#2B189F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2B189F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B189F
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B189F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B189F | 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)
#003BA3
Deuteranopia (green-blind)
#00309D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2b189f; /* rgb */ color: rgb(43, 24, 159); /* oklch */ color: oklch(35.4% 0.198 275.7);
Tailwind
colors: {
custom: {
50: '#785bbd',
500: '#2b189f',
950: '#000000',
},
}SCSS
$custom: #2b189f; $custom-light: #785bbd; $custom-dark: #000000;
JSON
{
"hex": "#2b189f",
"rgb": {
"r": 43,
"g": 24,
"b": 159
},
"hsl": {
"h": 248.444,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.35438,
"c": 0.19758,
"h": 275.7
},
"luminance": 0.0367
}Semantic roles & 50–950 ramp
primary
#2B189F
secondary
#B5C64D
accent
#F037D6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981