#2A4BAA#2A4BAA
#2A4BAA is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.157 H 265.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4BAA |
|---|---|
| RGB | rgb(42, 75, 170) |
| HSL | hsl(225, 60%, 42%) |
| HSV | hsv(225, 75%, 67%) |
| CMYK | cmyk(75.3%, 55.9%, 0%, 33.3%) |
| CIE-LAB | lab(34.85, 22.41, -54.46) |
| CIE-LCH | lch(34.85, 58.89, 292.37°) |
| OKLab | oklab(44.66% -0.0117 -0.157) |
| OKLCH | oklch(44.66% 0.157 265.8) |
| XYZ | xyz(10.7241, 8.4255, 39.0835) |
| Luminance | 0.0843 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.47
Sapphire
#0F52BA
ΔE00 3.59
Cobalt (survey)
#1E488F
ΔE00 4.35
Blue Blue
#2242C7
ΔE00 5.13
Dusk Blue
#26538D
ΔE00 5.78
Sapphire (survey)
#2138AB
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4BAA #AA892A
analogous
#2A8BAA #2A4BAA #492AAA
triadic
#2A4BAA #AA2A4B #4BAA2A
tetradic
#2A4BAA #AA2A8B #AA892A #2AAA49
square
#2A4BAA #AA2A8B #AA892A #2AAA49
split-complementary
#2A4BAA #AA492A #8BAA2A
monochromatic
#122048 #1E3579 #2A4BAA #4166D0 #728EDC
Accessibility & contrast
On white
7.82
#2A4BAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2A4BAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4BAA
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4BAA | 1.00 | 7.82 | 2.69 | 7.82 |
| #FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2a4baa; /* rgb */ color: rgb(42, 75, 170); /* oklch */ color: oklch(44.7% 0.157 265.8);
Tailwind
colors: {
custom: {
50: '#767cc4',
500: '#2a4baa',
950: '#000000',
},
}SCSS
$custom: #2a4baa; $custom-light: #767cc4; $custom-dark: #000000;
JSON
{
"hex": "#2a4baa",
"rgb": {
"r": 42,
"g": 75,
"b": 170
},
"hsl": {
"h": 224.531,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.44659,
"c": 0.15742,
"h": 265.8
},
"luminance": 0.08427
}Semantic roles & 50–950 ramp
primary
#2A4BAA
secondary
#C3AD6C
accent
#BA44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82