#2A4BAB#2A4BAB
#2A4BAB is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.7% C 0.159 H 265.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4BAB |
|---|---|
| RGB | rgb(42, 75, 171) |
| HSL | hsl(225, 61%, 42%) |
| HSV | hsv(225, 75%, 67%) |
| CMYK | cmyk(75.4%, 56.1%, 0%, 32.9%) |
| CIE-LAB | lab(34.93, 22.79, -54.93) |
| CIE-LCH | lch(34.93, 59.47, 292.53°) |
| OKLab | oklab(44.74% -0.0116 -0.1584) |
| OKLCH | oklch(44.74% 0.159 265.8) |
| XYZ | xyz(10.8190, 8.4635, 39.5836) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.51
Sapphire
#0F52BA
ΔE00 3.55
Cobalt (survey)
#1E488F
ΔE00 4.49
Blue Blue
#2242C7
ΔE00 5.00
Dusk Blue
#26538D
ΔE00 5.88
Sapphire (survey)
#2138AB
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4BAB #AB8A2A
analogous
#2A8CAB #2A4BAB #4A2AAB
triadic
#2A4BAB #AB2A4B #4BAB2A
tetradic
#2A4BAB #AB2A8C #AB8A2A #2AAB4A
square
#2A4BAB #AB2A8C #AB8A2A #2AAB4A
split-complementary
#2A4BAB #AB4A2A #8CAB2A
monochromatic
#122049 #1E357A #2A4BAB #4266D1 #738EDD
Accessibility & contrast
On white
7.80
#2A4BAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2A4BAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4BAB
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4BAB | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a4bab; /* rgb */ color: rgb(42, 75, 171); /* oklch */ color: oklch(44.7% 0.159 265.8);
Tailwind
colors: {
custom: {
50: '#767cc5',
500: '#2a4bab',
950: '#000000',
},
}SCSS
$custom: #2a4bab; $custom-light: #767cc5; $custom-dark: #000000;
JSON
{
"hex": "#2a4bab",
"rgb": {
"r": 42,
"g": 75,
"b": 171
},
"hsl": {
"h": 224.651,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.4474,
"c": 0.1588,
"h": 265.8
},
"luminance": 0.08465
}Semantic roles & 50–950 ramp
primary
#2A4BAB
secondary
#C4AE6D
accent
#BB44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82