#2B38AA#2B38AA
#2B38AA is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.1% C 0.180 H 270.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2B38AA |
|---|---|
| RGB | rgb(43, 56, 170) |
| HSL | hsl(234, 60%, 42%) |
| HSV | hsv(234, 75%, 67%) |
| CMYK | cmyk(74.7%, 67.1%, 0%, 33.3%) |
| CIE-LAB | lab(30.02, 35.01, -62.35) |
| CIE-LCH | lch(30.02, 71.51, 299.32°) |
| OKLab | oklab(41.09% 0.0024 -0.1803) |
| OKLCH | oklch(41.09% 0.18 270.8) |
| XYZ | xyz(9.6637, 6.2432, 38.7182) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.91
Blue Blue
#2242C7
ΔE00 4.69
Blueberry
#464196
ΔE00 5.32
Ocean Blue
#4F42B5
ΔE00 5.35
Cobalt
#0047AB
ΔE00 6.47
Blue With A Hint Of Purple
#533CC6
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B38AA #AA9D2B
analogous
#2B78AA #2B38AA #5E2BAA
triadic
#2B38AA #AA2B38 #38AA2B
tetradic
#2B38AA #AA2B78 #AA9D2B #2BAA5E
square
#2B38AA #AA2B78 #AA9D2B #2BAA5E
split-complementary
#2B38AA #AA5E2B #78AA2B
monochromatic
#121848 #1F2879 #2B38AA #4351CF #747EDC
Accessibility & contrast
On white
9.34
#2B38AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2B38AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B38AA
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B38AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B38AA | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0041A8
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2b38aa; /* rgb */ color: rgb(43, 56, 170); /* oklch */ color: oklch(41.1% 0.180 270.8);
Tailwind
colors: {
custom: {
50: '#786fc4',
500: '#2b38aa',
950: '#000000',
},
}SCSS
$custom: #2b38aa; $custom-light: #786fc4; $custom-dark: #000000;
JSON
{
"hex": "#2b38aa",
"rgb": {
"r": 43,
"g": 56,
"b": 170
},
"hsl": {
"h": 233.858,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.41085,
"c": 0.18036,
"h": 270.8
},
"luminance": 0.06244
}Semantic roles & 50–950 ramp
primary
#2B38AA
secondary
#C3BA6E
accent
#D345E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82