#2B38B2#2B38B2
#2B38B2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.191 H 270.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2B38B2 |
|---|---|
| RGB | rgb(43, 56, 178) |
| HSL | hsl(234, 61%, 43%) |
| HSV | hsv(234, 76%, 70%) |
| CMYK | cmyk(75.8%, 68.5%, 0%, 30.2%) |
| CIE-LAB | lab(30.77, 37.88, -65.89) |
| CIE-LCH | lch(30.77, 76.01, 299.89°) |
| OKLab | oklab(41.86% 0.0017 -0.1907) |
| OKLCH | oklch(41.86% 0.191 270.5) |
| XYZ | xyz(10.4436, 6.5552, 42.8257) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.50
Blue Blue
#2242C7
ΔE00 3.92
Ocean Blue
#4F42B5
ΔE00 4.95
Blue With A Hint Of Purple
#533CC6
ΔE00 5.86
Blueberry
#464196
ΔE00 5.95
Blue (survey)
#0343DF
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B38B2 #B2A52B
analogous
#2B7BB2 #2B38B2 #612BB2
triadic
#2B38B2 #B22B38 #38B22B
tetradic
#2B38B2 #B22B7B #B2A52B #2BB261
square
#2B38B2 #B22B7B #B2A52B #2BB261
split-complementary
#2B38B2 #B2612B #7BB22B
monochromatic
#13194F #1F2881 #2B38B2 #4855D3 #7983DF
Accessibility & contrast
On white
9.09
#2B38B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2B38B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B38B2
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B38B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B38B2 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2b38b2; /* rgb */ color: rgb(43, 56, 178); /* oklch */ color: oklch(41.9% 0.191 270.5);
Tailwind
colors: {
custom: {
50: '#7a6fca',
500: '#2b38b2',
950: '#000000',
},
}SCSS
$custom: #2b38b2; $custom-light: #7a6fca; $custom-dark: #000000;
JSON
{
"hex": "#2b38b2",
"rgb": {
"r": 43,
"g": 56,
"b": 178
},
"hsl": {
"h": 234.222,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.41862,
"c": 0.1907,
"h": 270.5
},
"luminance": 0.06556
}Semantic roles & 50–950 ramp
primary
#2B38B2
secondary
#C7BE72
accent
#D544E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82