#2B319F#2B319F
#2B319F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.174 H 272.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2B319F |
|---|---|
| RGB | rgb(43, 49, 159) |
| HSL | hsl(237, 57%, 40%) |
| HSV | hsv(237, 73%, 62%) |
| CMYK | cmyk(73%, 69.2%, 0%, 37.6%) |
| CIE-LAB | lab(27.33, 35.50, -60.12) |
| CIE-LCH | lch(27.33, 69.82, 300.56°) |
| OKLab | oklab(38.82% 0.0078 -0.1738) |
| OKLCH | oklch(38.82% 0.174 272.6) |
| XYZ | xyz(8.3505, 5.2126, 33.3602) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.74
Blueberry
#464196
ΔE00 5.78
Indigo Blue
#3A18B1
ΔE00 6.29
Darkslateblue
#483D8B
ΔE00 6.45
Royal
#0C1793
ΔE00 6.49
Ocean Blue
#4F42B5
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B319F #9F992B
analogous
#2B6B9F #2B319F #5F2B9F
triadic
#2B319F #9F2B31 #319F2B
tetradic
#2B319F #9F2B6B #9F992B #2B9F5F
square
#2B319F #9F2B6B #9F992B #2B9F5F
split-complementary
#2B319F #9F5F2B #6B9F2B
monochromatic
#11133F #1E226F #2B319F #3D44CA #6D72D7
Accessibility & contrast
On white
10.28
#2B319F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2B319F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B319F
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B319F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B319F | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2b319f; /* rgb */ color: rgb(43, 49, 159); /* oklch */ color: oklch(38.8% 0.174 272.6);
Tailwind
colors: {
custom: {
50: '#7669bc',
500: '#2b319f',
950: '#000000',
},
}SCSS
$custom: #2b319f; $custom-light: #7669bc; $custom-dark: #000000;
JSON
{
"hex": "#2b319f",
"rgb": {
"r": 43,
"g": 49,
"b": 159
},
"hsl": {
"h": 236.897,
"s": 57.426,
"l": 39.608
},
"oklch": {
"l": 0.38818,
"c": 0.174,
"h": 272.6
},
"luminance": 0.05213
}Semantic roles & 50–950 ramp
primary
#2B319F
secondary
#BEBA67
accent
#D947E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81