#2A4C8B#2A4C8B
#2A4C8B is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.5% C 0.112 H 261.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4C8B |
|---|---|
| RGB | rgb(42, 76, 139) |
| HSL | hsl(219, 54%, 35%) |
| HSV | hsv(219, 70%, 55%) |
| CMYK | cmyk(69.8%, 45.3%, 0%, 45.5%) |
| CIE-LAB | lab(32.97, 9.83, -38.75) |
| CIE-LCH | lch(32.97, 39.98, 284.23°) |
| OKLab | oklab(42.53% -0.0165 -0.1108) |
| OKLCH | oklch(42.53% 0.112 261.5) |
| XYZ | xyz(8.1978, 7.5244, 25.4414) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.66
Dusk Blue
#26538D
ΔE00 2.98
Darkish Blue
#014182
ΔE00 4.33
Light Navy
#155084
ΔE00 4.45
Twilight Blue
#0A437A
ΔE00 4.51
Cobalt
#0047AB
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4C8B #8B692A
analogous
#2A7C8B #2A4C8B #382A8B
triadic
#2A4C8B #8B2A4C #4C8B2A
tetradic
#2A4C8B #8B2A7C #8B692A #2A8B38
square
#2A4C8B #8B2A7C #8B692A #2A8B38
split-complementary
#2A4C8B #8B382A #7C8B2A
monochromatic
#0E192D #1C325C #2A4C8B #3866BA #6087CF
Accessibility & contrast
On white
8.38
#2A4C8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2A4C8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4C8B
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4C8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4C8B | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#1C498A
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a4c8b; /* rgb */ color: rgb(42, 76, 139); /* oklch */ color: oklch(42.5% 0.112 261.5);
Tailwind
colors: {
custom: {
50: '#6f7dad',
500: '#2a4c8b',
950: '#000000',
},
}SCSS
$custom: #2a4c8b; $custom-light: #6f7dad; $custom-dark: #000000;
JSON
{
"hex": "#2a4c8b",
"rgb": {
"r": 42,
"g": 76,
"b": 139
},
"hsl": {
"h": 218.969,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.42534,
"c": 0.11198,
"h": 261.5
},
"luminance": 0.07525
}Semantic roles & 50–950 ramp
primary
#2A4C8B
secondary
#B5965C
accent
#AA4BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F