#2A3BAF#2A3BAF
#2A3BAF is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.184 H 269.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3BAF |
|---|---|
| RGB | rgb(42, 59, 175) |
| HSL | hsl(232, 61%, 43%) |
| HSV | hsv(232, 76%, 69%) |
| CMYK | cmyk(76%, 66.3%, 0%, 31.4%) |
| CIE-LAB | lab(31.15, 34.80, -63.49) |
| CIE-LCH | lch(31.15, 72.41, 298.73°) |
| OKLab | oklab(42.04% -0.0008 -0.1837) |
| OKLCH | oklch(42.04% 0.184 269.8) |
| XYZ | xyz(10.2540, 6.7142, 41.3047) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.20
Blue Blue
#2242C7
ΔE00 3.66
Ocean Blue
#4F42B5
ΔE00 4.99
Blueberry
#464196
ΔE00 5.50
Cobalt
#0047AB
ΔE00 5.75
Blue With A Hint Of Purple
#533CC6
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3BAF #AF9E2A
analogous
#2A7DAF #2A3BAF #5C2AAF
triadic
#2A3BAF #AF2A3B #3BAF2A
tetradic
#2A3BAF #AF2A7D #AF9E2A #2AAF5C
square
#2A3BAF #AF2A7D #AF9E2A #2AAF5C
split-complementary
#2A3BAF #AF5C2A #7DAF2A
monochromatic
#121A4C #1E2A7E #2A3BAF #4456D2 #7583DE
Accessibility & contrast
On white
8.96
#2A3BAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2A3BAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3BAF
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3BAF | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a3baf; /* rgb */ color: rgb(42, 59, 175); /* oklch */ color: oklch(42.0% 0.184 269.8);
Tailwind
colors: {
custom: {
50: '#7971c8',
500: '#2a3baf',
950: '#000000',
},
}SCSS
$custom: #2a3baf; $custom-light: #7971c8; $custom-dark: #000000;
JSON
{
"hex": "#2a3baf",
"rgb": {
"r": 42,
"g": 59,
"b": 175
},
"hsl": {
"h": 232.331,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.42036,
"c": 0.18368,
"h": 269.8
},
"luminance": 0.06715
}Semantic roles & 50–950 ramp
primary
#2A3BAF
secondary
#C6BB6F
accent
#D043E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82