#2830A2#2830A2
#2830A2 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.180 H 271.5°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2830A2 |
|---|---|
| RGB | rgb(40, 48, 162) |
| HSL | hsl(236, 60%, 40%) |
| HSV | hsv(236, 75%, 64%) |
| CMYK | cmyk(75.3%, 70.4%, 0%, 36.5%) |
| CIE-LAB | lab(27.22, 36.87, -62.13) |
| CIE-LCH | lch(27.22, 72.24, 300.69°) |
| OKLab | oklab(38.78% 0.0046 -0.1798) |
| OKLCH | oklch(38.78% 0.18 271.5) |
| XYZ | xyz(8.4514, 5.1728, 34.7284) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.67
Indigo Blue
#3A18B1
ΔE00 5.98
Blueberry
#464196
ΔE00 6.24
Royal
#0C1793
ΔE00 6.29
Blue Blue
#2242C7
ΔE00 6.88
Ocean Blue
#4F42B5
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2830A2 #A29A28
analogous
#286DA2 #2830A2 #5D28A2
triadic
#2830A2 #A22830 #30A228
tetradic
#2830A2 #A2286D #A29A28 #28A25D
square
#2830A2 #A2286D #A29A28 #28A25D
split-complementary
#2830A2 #A25D28 #6DA228
monochromatic
#101340 #1C2171 #2830A2 #3943CE #6A72DA
Accessibility & contrast
On white
10.32
#2830A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2830A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2830A2
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2830A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2830A2 | 1.00 | 10.32 | 2.03 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2830a2; /* rgb */ color: rgb(40, 48, 162); /* oklch */ color: oklch(38.8% 0.180 271.5);
Tailwind
colors: {
custom: {
50: '#7669bf',
500: '#2830a2',
950: '#000000',
},
}SCSS
$custom: #2830a2; $custom-light: #7669bf; $custom-dark: #000000;
JSON
{
"hex": "#2830a2",
"rgb": {
"r": 40,
"g": 48,
"b": 162
},
"hsl": {
"h": 236.066,
"s": 60.396,
"l": 39.608
},
"oklch": {
"l": 0.3878,
"c": 0.17983,
"h": 271.5
},
"luminance": 0.05174
}Semantic roles & 50–950 ramp
primary
#2830A2
secondary
#C1BB65
accent
#D944E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81