#2A498B#2A498B
#2A498B is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.8% C 0.116 H 263.3°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2A498B |
|---|---|
| RGB | rgb(42, 73, 139) |
| HSL | hsl(221, 54%, 35%) |
| HSV | hsv(221, 70%, 55%) |
| CMYK | cmyk(69.8%, 47.5%, 0%, 45.5%) |
| CIE-LAB | lab(32.08, 11.84, -40.18) |
| CIE-LCH | lch(32.08, 41.89, 286.42°) |
| OKLab | oklab(41.85% -0.0134 -0.115) |
| OKLCH | oklch(41.85% 0.116 263.3) |
| XYZ | xyz(7.9959, 7.1206, 25.3741) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.46
Darkish Blue
#014182
ΔE00 4.05
Dusk Blue
#26538D
ΔE00 4.09
Twilight Blue
#0A437A
ΔE00 4.50
Cobalt
#0047AB
ΔE00 4.61
Light Navy
#155084
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A498B #8B6C2A
analogous
#2A798B #2A498B #3C2A8B
triadic
#2A498B #8B2A49 #498B2A
tetradic
#2A498B #8B2A79 #8B6C2A #2A8B3C
square
#2A498B #8B2A79 #8B6C2A #2A8B3C
split-complementary
#2A498B #8B3C2A #798B2A
monochromatic
#0E182D #1C305C #2A498B #3862BA #6084CF
Accessibility & contrast
On white
8.66
#2A498B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#2A498B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A498B
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A498B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A498B | 1.00 | 8.66 | 2.42 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#14478A
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a498b; /* rgb */ color: rgb(42, 73, 139); /* oklch */ color: oklch(41.8% 0.116 263.3);
Tailwind
colors: {
custom: {
50: '#6f7bad',
500: '#2a498b',
950: '#000000',
},
}SCSS
$custom: #2a498b; $custom-light: #6f7bad; $custom-dark: #000000;
JSON
{
"hex": "#2a498b",
"rgb": {
"r": 42,
"g": 73,
"b": 139
},
"hsl": {
"h": 220.825,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.41848,
"c": 0.11579,
"h": 263.3
},
"luminance": 0.07121
}Semantic roles & 50–950 ramp
primary
#2A498B
secondary
#B5985C
accent
#AE4BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F