#2B30AA#2B30AA
#2B30AA is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.189 H 272.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2B30AA |
|---|---|
| RGB | rgb(43, 48, 170) |
| HSL | hsl(238, 60%, 42%) |
| HSV | hsv(238, 75%, 67%) |
| CMYK | cmyk(74.7%, 71.8%, 0%, 33.3%) |
| CIE-LAB | lab(28.19, 39.98, -65.36) |
| CIE-LCH | lch(28.19, 76.61, 301.45°) |
| OKLab | oklab(39.76% 0.0069 -0.1891) |
| OKLCH | oklch(39.76% 0.189 272.1) |
| XYZ | xyz(9.3065, 5.5288, 38.5991) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.67
Indigo Blue
#3A18B1
ΔE00 5.33
Blue Blue
#2242C7
ΔE00 6.22
Ocean Blue
#4F42B5
ΔE00 6.30
Blueberry
#464196
ΔE00 6.52
True Blue
#010FCC
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B30AA #AAA52B
analogous
#2B70AA #2B30AA #662BAA
triadic
#2B30AA #AA2B30 #30AA2B
tetradic
#2B30AA #AA2B70 #AAA52B #2BAA66
square
#2B30AA #AA2B70 #AAA52B #2BAA66
split-complementary
#2B30AA #AA662B #70AA2B
monochromatic
#121448 #1F2279 #2B30AA #4348CF #7478DC
Accessibility & contrast
On white
9.97
#2B30AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2B30AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B30AA
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B30AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B30AA | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2b30aa; /* rgb */ color: rgb(43, 48, 170); /* oklch */ color: oklch(39.8% 0.189 272.1);
Tailwind
colors: {
custom: {
50: '#7969c4',
500: '#2b30aa',
950: '#000000',
},
}SCSS
$custom: #2b30aa; $custom-light: #7969c4; $custom-dark: #000000;
JSON
{
"hex": "#2b30aa",
"rgb": {
"r": 43,
"g": 48,
"b": 170
},
"hsl": {
"h": 237.638,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.39764,
"c": 0.18925,
"h": 272.1
},
"luminance": 0.0553
}Semantic roles & 50–950 ramp
primary
#2B30AA
secondary
#C3C06E
accent
#DD45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82