#2A45B3#2A45B3
#2A45B3 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.177 H 267.7°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2A45B3 |
|---|---|
| RGB | rgb(42, 69, 179) |
| HSL | hsl(228, 62%, 43%) |
| HSV | hsv(228, 77%, 70%) |
| CMYK | cmyk(76.5%, 61.5%, 0%, 29.8%) |
| CIE-LAB | lab(33.99, 29.79, -61.22) |
| CIE-LCH | lch(33.99, 68.09, 295.95°) |
| OKLab | oklab(44.24% -0.0071 -0.1769) |
| OKLCH | oklch(44.24% 0.177 267.7) |
| XYZ | xyz(11.2168, 8.0019, 43.5924) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.83
Cobalt
#0047AB
ΔE00 3.60
Sapphire (survey)
#2138AB
ΔE00 3.92
Sapphire
#0F52BA
ΔE00 5.28
Ocean Blue
#4F42B5
ΔE00 5.40
Blue (survey)
#0343DF
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A45B3 #B3982A
analogous
#2A89B3 #2A45B3 #532AB3
triadic
#2A45B3 #B32A45 #45B32A
tetradic
#2A45B3 #B32A89 #B3982A #2AB353
square
#2A45B3 #B32A89 #B3982A #2AB353
split-complementary
#2A45B3 #B3532A #89B32A
monochromatic
#131F50 #1E3281 #2A45B3 #4662D4 #788CDF
Accessibility & contrast
On white
8.08
#2A45B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2A45B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A45B3
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A45B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A45B3 | 1.00 | 8.08 | 2.60 | 8.08 |
| #FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a45b3; /* rgb */ color: rgb(42, 69, 179); /* oklch */ color: oklch(44.2% 0.177 267.7);
Tailwind
colors: {
custom: {
50: '#7978cb',
500: '#2a45b3',
950: '#000000',
},
}SCSS
$custom: #2a45b3; $custom-light: #7978cb; $custom-dark: #000000;
JSON
{
"hex": "#2a45b3",
"rgb": {
"r": 42,
"g": 69,
"b": 179
},
"hsl": {
"h": 228.175,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.44236,
"c": 0.17708,
"h": 267.7
},
"luminance": 0.08003
}Semantic roles & 50–950 ramp
primary
#2A45B3
secondary
#C7B672
accent
#C543E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82