#2B30A6#2B30A6
#2B30A6 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.4% C 0.184 H 272.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2B30A6 |
|---|---|
| RGB | rgb(43, 48, 166) |
| HSL | hsl(238, 59%, 41%) |
| HSV | hsv(238, 74%, 65%) |
| CMYK | cmyk(74.1%, 71.1%, 0%, 34.9%) |
| CIE-LAB | lab(27.79, 38.58, -63.61) |
| CIE-LCH | lch(27.79, 74.39, 301.24°) |
| OKLab | oklab(39.36% 0.0075 -0.184) |
| OKLCH | oklch(39.36% 0.184 272.3) |
| XYZ | xyz(8.9338, 5.3798, 36.6366) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.68
Indigo Blue
#3A18B1
ΔE00 5.54
Blueberry
#464196
ΔE00 6.30
Royal
#0C1793
ΔE00 6.50
Ocean Blue
#4F42B5
ΔE00 6.51
Blue Blue
#2242C7
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B30A6 #A6A12B
analogous
#2B6DA6 #2B30A6 #632BA6
triadic
#2B30A6 #A62B30 #30A62B
tetradic
#2B30A6 #A62B6D #A6A12B #2BA663
square
#2B30A6 #A62B6D #A6A12B #2BA663
split-complementary
#2B30A6 #A6632B #6DA62B
monochromatic
#121445 #1E2275 #2B30A6 #4146CE #7175DA
Accessibility & contrast
On white
10.11
#2B30A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2B30A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B30A6
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B30A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B30A6 | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2b30a6; /* rgb */ color: rgb(43, 48, 166); /* oklch */ color: oklch(39.4% 0.184 272.3);
Tailwind
colors: {
custom: {
50: '#7869c2',
500: '#2b30a6',
950: '#000000',
},
}SCSS
$custom: #2b30a6; $custom-light: #7869c2; $custom-dark: #000000;
JSON
{
"hex": "#2b30a6",
"rgb": {
"r": 43,
"g": 48,
"b": 166
},
"hsl": {
"h": 237.561,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.39356,
"c": 0.18416,
"h": 272.3
},
"luminance": 0.05381
}Semantic roles & 50–950 ramp
primary
#2B30A6
secondary
#C1BE6B
accent
#DC46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81