#2B38AE#2B38AE
#2B38AE is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.186 H 270.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2B38AE |
|---|---|
| RGB | rgb(43, 56, 174) |
| HSL | hsl(234, 60%, 43%) |
| HSV | hsv(234, 75%, 68%) |
| CMYK | cmyk(75.3%, 67.8%, 0%, 31.8%) |
| CIE-LAB | lab(30.39, 36.45, -64.13) |
| CIE-LCH | lch(30.39, 73.77, 299.61°) |
| OKLab | oklab(41.47% 0.0021 -0.1855) |
| OKLCH | oklch(41.47% 0.186 270.6) |
| XYZ | xyz(10.0478, 6.3969, 40.7414) |
| Luminance | 0.0640 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.11
Blue Blue
#2242C7
ΔE00 4.28
Ocean Blue
#4F42B5
ΔE00 5.12
Blueberry
#464196
ΔE00 5.62
Blue With A Hint Of Purple
#533CC6
ΔE00 6.25
Cobalt
#0047AB
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B38AE #AEA12B
analogous
#2B79AE #2B38AE #602BAE
triadic
#2B38AE #AE2B38 #38AE2B
tetradic
#2B38AE #AE2B79 #AEA12B #2BAE60
square
#2B38AE #AE2B79 #AEA12B #2BAE60
split-complementary
#2B38AE #AE602B #79AE2B
monochromatic
#13184C #1F287D #2B38AE #4553D1 #7680DD
Accessibility & contrast
On white
9.21
#2B38AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2B38AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B38AE
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B38AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B38AE | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2b38ae; /* rgb */ color: rgb(43, 56, 174); /* oklch */ color: oklch(41.5% 0.186 270.6);
Tailwind
colors: {
custom: {
50: '#796fc7',
500: '#2b38ae',
950: '#000000',
},
}SCSS
$custom: #2b38ae; $custom-light: #796fc7; $custom-dark: #000000;
JSON
{
"hex": "#2b38ae",
"rgb": {
"r": 43,
"g": 56,
"b": 174
},
"hsl": {
"h": 234.046,
"s": 60.369,
"l": 42.549
},
"oklch": {
"l": 0.41471,
"c": 0.18555,
"h": 270.6
},
"luminance": 0.06398
}Semantic roles & 50–950 ramp
primary
#2B38AE
secondary
#C5BC70
accent
#D444E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82