#2A4B87#2A4B87
#2A4B87 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.0% C 0.107 H 261.3°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4B87 |
|---|---|
| RGB | rgb(42, 75, 135) |
| HSL | hsl(219, 53%, 35%) |
| HSV | hsv(219, 69%, 53%) |
| CMYK | cmyk(68.9%, 44.4%, 0%, 47.1%) |
| CIE-LAB | lab(32.42, 8.97, -37.17) |
| CIE-LCH | lch(32.42, 38.24, 283.56°) |
| OKLab | oklab(42.03% -0.0162 -0.1061) |
| OKLCH | oklch(42.03% 0.107 261.3) |
| XYZ | xyz(7.8425, 7.2729, 23.9075) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.77
Dusk Blue
#26538D
ΔE00 3.27
Darkish Blue
#014182
ΔE00 4.04
Twilight Blue
#0A437A
ΔE00 4.14
Light Navy
#155084
ΔE00 4.48
Cobalt
#0047AB
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4B87 #87662A
analogous
#2A7987 #2A4B87 #382A87
triadic
#2A4B87 #872A4B #4B872A
tetradic
#2A4B87 #872A79 #87662A #2A8738
square
#2A4B87 #872A79 #87662A #2A8738
split-complementary
#2A4B87 #87382A #79872A
monochromatic
#0D172A #1B3158 #2A4B87 #3965B6 #5E86CD
Accessibility & contrast
On white
8.55
#2A4B87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2A4B87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4B87
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4B87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4B87 | 1.00 | 8.55 | 2.45 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5189
Deuteranopia (green-blind)
#1F4886
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a4b87; /* rgb */ color: rgb(42, 75, 135); /* oklch */ color: oklch(42.0% 0.107 261.3);
Tailwind
colors: {
custom: {
50: '#6e7caa',
500: '#2a4b87',
950: '#000000',
},
}SCSS
$custom: #2a4b87; $custom-light: #6e7caa; $custom-dark: #000000;
JSON
{
"hex": "#2a4b87",
"rgb": {
"r": 42,
"g": 75,
"b": 135
},
"hsl": {
"h": 218.71,
"s": 52.542,
"l": 34.706
},
"oklch": {
"l": 0.42027,
"c": 0.10738,
"h": 261.3
},
"luminance": 0.07274
}Semantic roles & 50–950 ramp
primary
#2A4B87
secondary
#B3935A
accent
#A94CDC
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F