#2A30AF#2A30AF
#2A30AF is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.196 H 271.5°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2A30AF |
|---|---|
| RGB | rgb(42, 48, 175) |
| HSL | hsl(237, 61%, 43%) |
| HSV | hsv(237, 76%, 69%) |
| CMYK | cmyk(76%, 72.6%, 0%, 31.4%) |
| CIE-LAB | lab(28.64, 41.61, -67.61) |
| CIE-LCH | lch(28.64, 79.39, 301.61°) |
| OKLab | oklab(40.23% 0.0051 -0.1957) |
| OKLCH | oklch(40.23% 0.196 271.5) |
| XYZ | xyz(9.7470, 5.7002, 41.1357) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.75
Indigo Blue
#3A18B1
ΔE00 5.20
Blue Blue
#2242C7
ΔE00 5.84
Ocean Blue
#4F42B5
ΔE00 6.15
True Blue
#010FCC
ΔE00 6.25
Blue With A Hint Of Purple
#533CC6
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A30AF #AFA92A
analogous
#2A73AF #2A30AF #662AAF
triadic
#2A30AF #AF2A30 #30AF2A
tetradic
#2A30AF #AF2A73 #AFA92A #2AAF66
square
#2A30AF #AF2A73 #AFA92A #2AAF66
split-complementary
#2A30AF #AF662A #73AF2A
monochromatic
#12154C #1E227E #2A30AF #444AD2 #757ADE
Accessibility & contrast
On white
9.81
#2A30AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2A30AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A30AF
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A30AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A30AF | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a30af; /* rgb */ color: rgb(42, 48, 175); /* oklch */ color: oklch(40.2% 0.196 271.5);
Tailwind
colors: {
custom: {
50: '#7a69c8',
500: '#2a30af',
950: '#000000',
},
}SCSS
$custom: #2a30af; $custom-light: #7a69c8; $custom-dark: #000000;
JSON
{
"hex": "#2a30af",
"rgb": {
"r": 42,
"g": 48,
"b": 175
},
"hsl": {
"h": 237.293,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.40225,
"c": 0.19578,
"h": 271.5
},
"luminance": 0.05701
}Semantic roles & 50–950 ramp
primary
#2A30AF
secondary
#C6C26F
accent
#DD43E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82