#2A498E#2A498E
#2A498E is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.120 H 263.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2A498E |
|---|---|
| RGB | rgb(42, 73, 142) |
| HSL | hsl(221, 54%, 36%) |
| HSV | hsv(221, 70%, 56%) |
| CMYK | cmyk(70.4%, 48.6%, 0%, 44.3%) |
| CIE-LAB | lab(32.28, 13.00, -41.70) |
| CIE-LCH | lch(32.28, 43.68, 287.31°) |
| OKLab | oklab(42.07% -0.0129 -0.1195) |
| OKLCH | oklch(42.07% 0.12 263.8) |
| XYZ | xyz(8.2182, 7.2095, 26.5444) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.44
Dusk Blue
#26538D
ΔE00 4.19
Darkish Blue
#014182
ΔE00 4.25
Cobalt
#0047AB
ΔE00 4.25
Twilight Blue
#0A437A
ΔE00 4.79
Light Navy
#155084
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A498E #8E6F2A
analogous
#2A7B8E #2A498E #3D2A8E
triadic
#2A498E #8E2A49 #498E2A
tetradic
#2A498E #8E2A7B #8E6F2A #2A8E3D
square
#2A498E #8E2A7B #8E6F2A #2A8E3D
split-complementary
#2A498E #8E3D2A #7B8E2A
monochromatic
#0E1830 #1C315F #2A498E #3861BD #6284D1
Accessibility & contrast
On white
8.60
#2A498E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2A498E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A498E
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A498E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A498E | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255191
Deuteranopia (green-blind)
#0D488D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a498e; /* rgb */ color: rgb(42, 73, 142); /* oklch */ color: oklch(42.1% 0.120 263.8);
Tailwind
colors: {
custom: {
50: '#707baf',
500: '#2a498e',
950: '#000000',
},
}SCSS
$custom: #2a498e; $custom-light: #707baf; $custom-dark: #000000;
JSON
{
"hex": "#2a498e",
"rgb": {
"r": 42,
"g": 73,
"b": 142
},
"hsl": {
"h": 221.4,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.42065,
"c": 0.12019,
"h": 263.8
},
"luminance": 0.0721
}Semantic roles & 50–950 ramp
primary
#2A498E
secondary
#B69B5D
accent
#B04ADE
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F