#2D30AB#2D30AB
#2D30AB is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.190 H 272.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2D30AB |
|---|---|
| RGB | rgb(45, 48, 171) |
| HSL | hsl(239, 58%, 42%) |
| HSV | hsv(239, 74%, 67%) |
| CMYK | cmyk(73.7%, 71.9%, 0%, 32.9%) |
| CIE-LAB | lab(28.41, 40.52, -65.59) |
| CIE-LCH | lch(28.41, 77.10, 301.70°) |
| OKLab | oklab(39.98% 0.0091 -0.1898) |
| OKLCH | oklch(39.98% 0.19 272.7) |
| XYZ | xyz(9.4874, 5.6111, 39.1032) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.79
Indigo Blue
#3A18B1
ΔE00 5.19
Ocean Blue
#4F42B5
ΔE00 6.13
Blue Blue
#2242C7
ΔE00 6.17
Blueberry
#464196
ΔE00 6.51
True Blue
#010FCC
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D30AB #ABA82D
analogous
#2D6FAB #2D30AB #692DAB
triadic
#2D30AB #AB2D30 #30AB2D
tetradic
#2D30AB #AB2D6F #ABA82D #2DAB69
square
#2D30AB #AB2D6F #ABA82D #2DAB69
split-complementary
#2D30AB #AB692D #6FAB2D
monochromatic
#14154A #20227B #2D30AB #474ACE #777ADB
Accessibility & contrast
On white
9.89
#2D30AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2D30AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D30AB
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D30AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D30AB | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2d30ab; /* rgb */ color: rgb(45, 48, 171); /* oklch */ color: oklch(40.0% 0.190 272.7);
Tailwind
colors: {
custom: {
50: '#7a69c5',
500: '#2d30ab',
950: '#000000',
},
}SCSS
$custom: #2d30ab; $custom-light: #7a69c5; $custom-dark: #000000;
JSON
{
"hex": "#2d30ab",
"rgb": {
"r": 45,
"g": 48,
"b": 171
},
"hsl": {
"h": 238.571,
"s": 58.333,
"l": 42.353
},
"oklch": {
"l": 0.39982,
"c": 0.18998,
"h": 272.7
},
"luminance": 0.05612
}Semantic roles & 50–950 ramp
primary
#2D30AB
secondary
#C3C171
accent
#DE46E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82