#2A488A#2A488A
#2A488A is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.116 H 263.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2A488A |
|---|---|
| RGB | rgb(42, 72, 138) |
| HSL | hsl(221, 53%, 35%) |
| HSV | hsv(221, 70%, 54%) |
| CMYK | cmyk(69.6%, 47.8%, 0%, 45.9%) |
| CIE-LAB | lab(31.72, 12.14, -40.14) |
| CIE-LCH | lch(31.72, 41.94, 286.82°) |
| OKLab | oklab(41.55% -0.0126 -0.1149) |
| OKLCH | oklch(41.55% 0.116 263.7) |
| XYZ | xyz(7.8580, 6.9612, 24.9693) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.60
Darkish Blue
#014182
ΔE00 3.97
Dusk Blue
#26538D
ΔE00 4.43
Twilight Blue
#0A437A
ΔE00 4.47
Cobalt
#0047AB
ΔE00 4.73
Light Navy
#155084
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A488A #8A6C2A
analogous
#2A788A #2A488A #3C2A8A
triadic
#2A488A #8A2A48 #488A2A
tetradic
#2A488A #8A2A78 #8A6C2A #2A8A3C
square
#2A488A #8A2A78 #8A6C2A #2A8A3C
split-complementary
#2A488A #8A3C2A #788A2A
monochromatic
#0D172C #1C305B #2A488A #3860B9 #6082CF
Accessibility & contrast
On white
8.78
#2A488A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2A488A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A488A
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A488A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A488A | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264F8C
Deuteranopia (green-blind)
#134689
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a488a; /* rgb */ color: rgb(42, 72, 138); /* oklch */ color: oklch(41.5% 0.116 263.7);
Tailwind
colors: {
custom: {
50: '#6f7aad',
500: '#2a488a',
950: '#000000',
},
}SCSS
$custom: #2a488a; $custom-light: #6f7aad; $custom-dark: #000000;
JSON
{
"hex": "#2a488a",
"rgb": {
"r": 42,
"g": 72,
"b": 138
},
"hsl": {
"h": 221.25,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.41549,
"c": 0.11562,
"h": 263.7
},
"luminance": 0.06962
}Semantic roles & 50–950 ramp
primary
#2A488A
secondary
#B4995B
accent
#AF4BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F