#2B30A9#2B30A9
#2B30A9 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.188 H 272.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2B30A9 |
|---|---|
| RGB | rgb(43, 48, 169) |
| HSL | hsl(238, 59%, 42%) |
| HSV | hsv(238, 75%, 66%) |
| CMYK | cmyk(74.6%, 71.6%, 0%, 33.7%) |
| CIE-LAB | lab(28.09, 39.63, -64.92) |
| CIE-LCH | lch(28.09, 76.06, 301.40°) |
| OKLab | oklab(39.66% 0.0071 -0.1878) |
| OKLCH | oklch(39.66% 0.188 272.2) |
| XYZ | xyz(9.2122, 5.4911, 38.1028) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.66
Indigo Blue
#3A18B1
ΔE00 5.38
Blue Blue
#2242C7
ΔE00 6.30
Ocean Blue
#4F42B5
ΔE00 6.35
Blueberry
#464196
ΔE00 6.46
Royal
#0C1793
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B30A9 #A9A42B
analogous
#2B6FA9 #2B30A9 #652BA9
triadic
#2B30A9 #A92B30 #30A92B
tetradic
#2B30A9 #A92B6F #A9A42B #2BA965
square
#2B30A9 #A92B6F #A9A42B #2BA965
split-complementary
#2B30A9 #A9652B #6FA92B
monochromatic
#121447 #1F2278 #2B30A9 #4248CF #7377DB
Accessibility & contrast
On white
10.01
#2B30A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#2B30A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B30A9
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B30A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B30A9 | 1.00 | 10.01 | 2.10 | 10.01 |
| #FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2b30a9; /* rgb */ color: rgb(43, 48, 169); /* oklch */ color: oklch(39.7% 0.188 272.2);
Tailwind
colors: {
custom: {
50: '#7969c4',
500: '#2b30a9',
950: '#000000',
},
}SCSS
$custom: #2b30a9; $custom-light: #7969c4; $custom-dark: #000000;
JSON
{
"hex": "#2b30a9",
"rgb": {
"r": 43,
"g": 48,
"b": 169
},
"hsl": {
"h": 237.619,
"s": 59.434,
"l": 41.569
},
"oklch": {
"l": 0.39661,
"c": 0.18798,
"h": 272.2
},
"luminance": 0.05492
}Semantic roles & 50–950 ramp
primary
#2B30A9
secondary
#C3BF6D
accent
#DC45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82