#2A4B9F#2A4B9F
#2A4B9F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.142 H 264.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4B9F |
|---|---|
| RGB | rgb(42, 75, 159) |
| HSL | hsl(223, 58%, 39%) |
| HSV | hsv(223, 74%, 62%) |
| CMYK | cmyk(73.6%, 52.8%, 0%, 37.6%) |
| CIE-LAB | lab(34.04, 18.19, -49.19) |
| CIE-LCH | lch(34.04, 52.44, 290.30°) |
| OKLab | oklab(43.78% -0.0126 -0.1415) |
| OKLCH | oklch(43.78% 0.142 264.9) |
| XYZ | xyz(9.7267, 8.0266, 33.8308) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.69
Cobalt (survey)
#1E488F
ΔE00 2.89
Sapphire
#0F52BA
ΔE00 4.29
Dusk Blue
#26538D
ΔE00 4.69
Denim Blue
#3B5B92
ΔE00 5.74
Darkish Blue
#014182
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4B9F #9F7E2A
analogous
#2A869F #2A4B9F #442A9F
triadic
#2A4B9F #9F2A4B #4B9F2A
tetradic
#2A4B9F #9F2A86 #9F7E2A #2A9F44
square
#2A4B9F #9F2A86 #9F7E2A #2A9F44
split-complementary
#2A4B9F #9F442A #869F2A
monochromatic
#101D3E #1D346F #2A4B9F #3B64CB #6B8AD8
Accessibility & contrast
On white
8.06
#2A4B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2A4B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4B9F
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4B9F | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1356A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a4b9f; /* rgb */ color: rgb(42, 75, 159); /* oklch */ color: oklch(43.8% 0.142 264.9);
Tailwind
colors: {
custom: {
50: '#747cbc',
500: '#2a4b9f',
950: '#000000',
},
}SCSS
$custom: #2a4b9f; $custom-light: #747cbc; $custom-dark: #000000;
JSON
{
"hex": "#2a4b9f",
"rgb": {
"r": 42,
"g": 75,
"b": 159
},
"hsl": {
"h": 223.077,
"s": 58.209,
"l": 39.412
},
"oklch": {
"l": 0.43784,
"c": 0.14205,
"h": 264.9
},
"luminance": 0.08028
}Semantic roles & 50–950 ramp
primary
#2A4B9F
secondary
#BFA666
accent
#B646E1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81