#2B30AC#2B30AC
#2B30AC is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.192 H 272.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2B30AC |
|---|---|
| RGB | rgb(43, 48, 172) |
| HSL | hsl(238, 60%, 42%) |
| HSV | hsv(238, 75%, 67%) |
| CMYK | cmyk(75%, 72.1%, 0%, 32.5%) |
| CIE-LAB | lab(28.39, 40.67, -66.22) |
| CIE-LCH | lch(28.39, 77.71, 301.55°) |
| OKLab | oklab(39.97% 0.0066 -0.1916) |
| OKLCH | oklch(39.97% 0.192 272) |
| XYZ | xyz(9.4971, 5.6051, 39.6031) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.70
Indigo Blue
#3A18B1
ΔE00 5.25
Blue Blue
#2242C7
ΔE00 6.07
Ocean Blue
#4F42B5
ΔE00 6.21
True Blue
#010FCC
ΔE00 6.48
Blueberry
#464196
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B30AC #ACA72B
analogous
#2B71AC #2B30AC #662BAC
triadic
#2B30AC #AC2B30 #30AC2B
tetradic
#2B30AC #AC2B71 #ACA72B #2BAC66
square
#2B30AC #AC2B71 #ACA72B #2BAC66
split-complementary
#2B30AC #AC662B #71AC2B
monochromatic
#13154A #1F227B #2B30AC #4449D0 #7579DC
Accessibility & contrast
On white
9.90
#2B30AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2B30AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B30AC
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B30AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B30AC | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2b30ac; /* rgb */ color: rgb(43, 48, 172); /* oklch */ color: oklch(40.0% 0.192 272.0);
Tailwind
colors: {
custom: {
50: '#7969c6',
500: '#2b30ac',
950: '#000000',
},
}SCSS
$custom: #2b30ac; $custom-light: #7969c6; $custom-dark: #000000;
JSON
{
"hex": "#2b30ac",
"rgb": {
"r": 43,
"g": 48,
"b": 172
},
"hsl": {
"h": 237.674,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.3997,
"c": 0.19176,
"h": 272
},
"luminance": 0.05606
}Semantic roles & 50–950 ramp
primary
#2B30AC
secondary
#C4C16F
accent
#DD45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82