#2B388C#2B388C
#2B388C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.139 H 271.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2B388C |
|---|---|
| RGB | rgb(43, 56, 140) |
| HSL | hsl(232, 53%, 36%) |
| HSV | hsv(232, 69%, 55%) |
| CMYK | cmyk(69.3%, 60%, 0%, 45.1%) |
| CIE-LAB | lab(27.39, 23.96, -48.37) |
| CIE-LCH | lch(27.39, 53.97, 296.35°) |
| OKLab | oklab(38.34% 0.0036 -0.1393) |
| OKLCH | oklch(38.34% 0.139 271.5) |
| XYZ | xyz(7.1425, 5.2347, 25.4399) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.62
Blueberry
#464196
ΔE00 4.68
Darkslateblue
#483D8B
ΔE00 5.09
Cobalt (survey)
#1E488F
ΔE00 6.62
Cobalt
#0047AB
ΔE00 7.10
Darkish Blue
#014182
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B388C #8C7F2B
analogous
#2B688C #2B388C #4E2B8C
triadic
#2B388C #8C2B38 #388C2B
tetradic
#2B388C #8C2B68 #8C7F2B #2B8C4E
square
#2B388C #8C2B68 #8C7F2B #2B8C4E
split-complementary
#2B388C #8C4E2B #688C2B
monochromatic
#0E132E #1D255D #2B388C #394BBB #6271CF
Accessibility & contrast
On white
10.26
#2B388C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2B388C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B388C
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B388C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B388C | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2b388c; /* rgb */ color: rgb(43, 56, 140); /* oklch */ color: oklch(38.3% 0.139 271.5);
Tailwind
colors: {
custom: {
50: '#716eae',
500: '#2b388c',
950: '#000000',
},
}SCSS
$custom: #2b388c; $custom-light: #716eae; $custom-dark: #000000;
JSON
{
"hex": "#2b388c",
"rgb": {
"r": 43,
"g": 56,
"b": 140
},
"hsl": {
"h": 231.959,
"s": 53.005,
"l": 35.882
},
"oklch": {
"l": 0.38342,
"c": 0.13938,
"h": 271.5
},
"luminance": 0.05235
}Semantic roles & 50–950 ramp
primary
#2B388C
secondary
#B5A95E
accent
#C94BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F