#2A4B8B#2A4B8B
#2A4B8B is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.3% C 0.113 H 262.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4B8B |
|---|---|
| RGB | rgb(42, 75, 139) |
| HSL | hsl(220, 54%, 35%) |
| HSV | hsv(220, 70%, 55%) |
| CMYK | cmyk(69.8%, 46%, 0%, 45.5%) |
| CIE-LAB | lab(32.67, 10.50, -39.23) |
| CIE-LCH | lch(32.67, 40.61, 284.98°) |
| OKLab | oklab(42.3% -0.0154 -0.1122) |
| OKLCH | oklch(42.3% 0.113 262.2) |
| XYZ | xyz(8.1295, 7.3877, 25.4186) |
| Luminance | 0.0739 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.50
Dusk Blue
#26538D
ΔE00 3.35
Darkish Blue
#014182
ΔE00 4.21
Twilight Blue
#0A437A
ΔE00 4.47
Cobalt
#0047AB
ΔE00 4.68
Light Navy
#155084
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4B8B #8B6A2A
analogous
#2A7B8B #2A4B8B #3A2A8B
triadic
#2A4B8B #8B2A4B #4B8B2A
tetradic
#2A4B8B #8B2A7B #8B6A2A #2A8B3A
square
#2A4B8B #8B2A7B #8B6A2A #2A8B3A
split-complementary
#2A4B8B #8B3A2A #7B8B2A
monochromatic
#0E182D #1C325C #2A4B8B #3864BA #6086CF
Accessibility & contrast
On white
8.48
#2A4B8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2A4B8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4B8B
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4B8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4B8B | 1.00 | 8.48 | 2.48 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C528D
Deuteranopia (green-blind)
#1A498A
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2a4b8b; /* rgb */ color: rgb(42, 75, 139); /* oklch */ color: oklch(42.3% 0.113 262.2);
Tailwind
colors: {
custom: {
50: '#6f7cad',
500: '#2a4b8b',
950: '#000000',
},
}SCSS
$custom: #2a4b8b; $custom-light: #6f7cad; $custom-dark: #000000;
JSON
{
"hex": "#2a4b8b",
"rgb": {
"r": 42,
"g": 75,
"b": 139
},
"hsl": {
"h": 219.588,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.42304,
"c": 0.11324,
"h": 262.2
},
"luminance": 0.07388
}Semantic roles & 50–950 ramp
primary
#2A4B8B
secondary
#B5975C
accent
#AB4BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F