#2B38AC#2B38AC
#2B38AC is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.183 H 270.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2B38AC |
|---|---|
| RGB | rgb(43, 56, 172) |
| HSL | hsl(234, 60%, 42%) |
| HSV | hsv(234, 75%, 67%) |
| CMYK | cmyk(75%, 67.4%, 0%, 32.5%) |
| CIE-LAB | lab(30.20, 35.73, -63.24) |
| CIE-LCH | lch(30.20, 72.64, 299.47°) |
| OKLab | oklab(41.28% 0.0023 -0.1829) |
| OKLCH | oklch(41.28% 0.183 270.7) |
| XYZ | xyz(9.8543, 6.3195, 39.7222) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.97
Blue Blue
#2242C7
ΔE00 4.48
Ocean Blue
#4F42B5
ΔE00 5.23
Blueberry
#464196
ΔE00 5.47
Blue With A Hint Of Purple
#533CC6
ΔE00 6.45
Cobalt
#0047AB
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B38AC #AC9F2B
analogous
#2B79AC #2B38AC #5E2BAC
triadic
#2B38AC #AC2B38 #38AC2B
tetradic
#2B38AC #AC2B79 #AC9F2B #2BAC5E
square
#2B38AC #AC2B79 #AC9F2B #2BAC5E
split-complementary
#2B38AC #AC5E2B #79AC2B
monochromatic
#13184A #1F287B #2B38AC #4452D0 #757FDC
Accessibility & contrast
On white
9.28
#2B38AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2B38AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B38AC
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B38AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B38AC | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2b38ac; /* rgb */ color: rgb(43, 56, 172); /* oklch */ color: oklch(41.3% 0.183 270.7);
Tailwind
colors: {
custom: {
50: '#796fc6',
500: '#2b38ac',
950: '#000000',
},
}SCSS
$custom: #2b38ac; $custom-light: #796fc6; $custom-dark: #000000;
JSON
{
"hex": "#2b38ac",
"rgb": {
"r": 43,
"g": 56,
"b": 172
},
"hsl": {
"h": 233.953,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.41278,
"c": 0.18296,
"h": 270.7
},
"luminance": 0.0632
}Semantic roles & 50–950 ramp
primary
#2B38AC
secondary
#C4BB6F
accent
#D345E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82