#2B30A3#2B30A3
#2B30A3 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.180 H 272.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2B30A3 |
|---|---|
| RGB | rgb(43, 48, 163) |
| HSL | hsl(238, 58%, 40%) |
| HSV | hsv(238, 74%, 64%) |
| CMYK | cmyk(73.6%, 70.6%, 0%, 36.1%) |
| CIE-LAB | lab(27.49, 37.53, -62.28) |
| CIE-LCH | lch(27.49, 72.72, 301.08°) |
| OKLab | oklab(39.05% 0.0079 -0.1801) |
| OKLCH | oklch(39.05% 0.18 272.5) |
| XYZ | xyz(8.6618, 5.2710, 35.2041) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.76
Indigo Blue
#3A18B1
ΔE00 5.74
Blueberry
#464196
ΔE00 6.15
Royal
#0C1793
ΔE00 6.37
Ocean Blue
#4F42B5
ΔE00 6.69
Blue Blue
#2242C7
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B30A3 #A39E2B
analogous
#2B6CA3 #2B30A3 #622BA3
triadic
#2B30A3 #A32B30 #30A32B
tetradic
#2B30A3 #A32B6C #A39E2B #2BA362
square
#2B30A3 #A32B6C #A39E2B #2BA362
split-complementary
#2B30A3 #A3622B #6CA32B
monochromatic
#111342 #1E2273 #2B30A3 #3F45CC #6F74D9
Accessibility & contrast
On white
10.22
#2B30A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2B30A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B30A3
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B30A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B30A3 | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2b30a3; /* rgb */ color: rgb(43, 48, 163); /* oklch */ color: oklch(39.1% 0.180 272.5);
Tailwind
colors: {
custom: {
50: '#7769bf',
500: '#2b30a3',
950: '#000000',
},
}SCSS
$custom: #2b30a3; $custom-light: #7769bf; $custom-dark: #000000;
JSON
{
"hex": "#2b30a3",
"rgb": {
"r": 43,
"g": 48,
"b": 163
},
"hsl": {
"h": 237.5,
"s": 58.252,
"l": 40.392
},
"oklch": {
"l": 0.39052,
"c": 0.18032,
"h": 272.5
},
"luminance": 0.05272
}Semantic roles & 50–950 ramp
primary
#2B30A3
secondary
#C0BD6A
accent
#DB46E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81