#2A45A3#2A45A3
#2A45A3 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.155 H 267.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2A45A3 |
|---|---|
| RGB | rgb(42, 69, 163) |
| HSL | hsl(227, 59%, 40%) |
| HSV | hsv(227, 74%, 64%) |
| CMYK | cmyk(74.2%, 57.7%, 0%, 36.1%) |
| CIE-LAB | lab(32.68, 23.75, -53.79) |
| CIE-LCH | lch(32.68, 58.80, 293.82°) |
| OKLab | oklab(42.86% -0.0074 -0.1551) |
| OKLCH | oklch(42.86% 0.155 267.3) |
| XYZ | xyz(9.6915, 7.3918, 35.5592) |
| Luminance | 0.0739 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.92
Cobalt (survey)
#1E488F
ΔE00 4.26
Sapphire (survey)
#2138AB
ΔE00 4.35
Blue Blue
#2242C7
ΔE00 5.11
Blueberry
#464196
ΔE00 5.35
Sapphire
#0F52BA
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A45A3 #A3882A
analogous
#2A81A3 #2A45A3 #4C2AA3
triadic
#2A45A3 #A32A45 #45A32A
tetradic
#2A45A3 #A32A81 #A3882A #2AA34C
square
#2A45A3 #A32A81 #A3882A #2AA34C
split-complementary
#2A45A3 #A34C2A #81A32A
monochromatic
#111C42 #1D3072 #2A45A3 #3D5DCD #6E86DA
Accessibility & contrast
On white
8.47
#2A45A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2A45A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A45A3
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A45A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A45A3 | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2a45a3; /* rgb */ color: rgb(42, 69, 163); /* oklch */ color: oklch(42.9% 0.155 267.3);
Tailwind
colors: {
custom: {
50: '#7578bf',
500: '#2a45a3',
950: '#000000',
},
}SCSS
$custom: #2a45a3; $custom-light: #7578bf; $custom-dark: #000000;
JSON
{
"hex": "#2a45a3",
"rgb": {
"r": 42,
"g": 69,
"b": 163
},
"hsl": {
"h": 226.612,
"s": 59.024,
"l": 40.196
},
"oklch": {
"l": 0.42856,
"c": 0.15531,
"h": 267.3
},
"luminance": 0.07393
}Semantic roles & 50–950 ramp
primary
#2A45A3
secondary
#C0AD68
accent
#BF46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81