#2A3FAA#2A3FAA
#2A3FAA is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.3% C 0.172 H 269.0°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3FAA |
|---|---|
| RGB | rgb(42, 63, 170) |
| HSL | hsl(230, 60%, 42%) |
| HSV | hsv(230, 75%, 67%) |
| CMYK | cmyk(75.3%, 62.9%, 0%, 33.3%) |
| CIE-LAB | lab(31.69, 30.37, -59.62) |
| CIE-LCH | lch(31.69, 66.91, 297.00°) |
| OKLab | oklab(42.3% -0.003 -0.1723) |
| OKLCH | oklch(42.3% 0.172 269) |
| XYZ | xyz(9.9855, 6.9485, 38.8373) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.08
Blue Blue
#2242C7
ΔE00 3.89
Cobalt
#0047AB
ΔE00 4.48
Blueberry
#464196
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 5.36
Cobalt (survey)
#1E488F
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3FAA #AA952A
analogous
#2A7FAA #2A3FAA #552AAA
triadic
#2A3FAA #AA2A3F #3FAA2A
tetradic
#2A3FAA #AA2A7F #AA952A #2AAA55
square
#2A3FAA #AA2A7F #AA952A #2AAA55
split-complementary
#2A3FAA #AA552A #7FAA2A
monochromatic
#121B48 #1E2D79 #2A3FAA #4159D0 #7284DC
Accessibility & contrast
On white
8.79
#2A3FAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2A3FAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3FAA
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3FAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3FAA | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a3faa; /* rgb */ color: rgb(42, 63, 170); /* oklch */ color: oklch(42.3% 0.172 269.0);
Tailwind
colors: {
custom: {
50: '#7774c4',
500: '#2a3faa',
950: '#000000',
},
}SCSS
$custom: #2a3faa; $custom-light: #7774c4; $custom-dark: #000000;
JSON
{
"hex": "#2a3faa",
"rgb": {
"r": 42,
"g": 63,
"b": 170
},
"hsl": {
"h": 230.156,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.42297,
"c": 0.17232,
"h": 269
},
"luminance": 0.0695
}Semantic roles & 50–950 ramp
primary
#2A3FAA
secondary
#C3B56C
accent
#C944E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82