#2A4B8A#2A4B8A
#2A4B8A is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.2% C 0.112 H 262.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4B8A |
|---|---|
| RGB | rgb(42, 75, 138) |
| HSL | hsl(219, 53%, 35%) |
| HSV | hsv(219, 70%, 54%) |
| CMYK | cmyk(69.6%, 45.7%, 0%, 45.9%) |
| CIE-LAB | lab(32.61, 10.11, -38.72) |
| CIE-LCH | lch(32.61, 40.02, 284.64°) |
| OKLab | oklab(42.23% -0.0156 -0.1107) |
| OKLCH | oklch(42.23% 0.112 262) |
| XYZ | xyz(8.0567, 7.3586, 25.0356) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.55
Dusk Blue
#26538D
ΔE00 3.33
Darkish Blue
#014182
ΔE00 4.16
Twilight Blue
#0A437A
ΔE00 4.39
Light Navy
#155084
ΔE00 4.67
Cobalt
#0047AB
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4B8A #8A692A
analogous
#2A7B8A #2A4B8A #392A8A
triadic
#2A4B8A #8A2A4B #4B8A2A
tetradic
#2A4B8A #8A2A7B #8A692A #2A8A39
square
#2A4B8A #8A2A7B #8A692A #2A8A39
split-complementary
#2A4B8A #8A392A #7B8A2A
monochromatic
#0D182C #1C315B #2A4B8A #3864B9 #6086CF
Accessibility & contrast
On white
8.50
#2A4B8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2A4B8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4B8A
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4B8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4B8A | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C518C
Deuteranopia (green-blind)
#1B4989
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2a4b8a; /* rgb */ color: rgb(42, 75, 138); /* oklch */ color: oklch(42.2% 0.112 262.0);
Tailwind
colors: {
custom: {
50: '#6f7cac',
500: '#2a4b8a',
950: '#000000',
},
}SCSS
$custom: #2a4b8a; $custom-light: #6f7cac; $custom-dark: #000000;
JSON
{
"hex": "#2a4b8a",
"rgb": {
"r": 42,
"g": 75,
"b": 138
},
"hsl": {
"h": 219.375,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.42234,
"c": 0.11178,
"h": 262
},
"luminance": 0.07359
}Semantic roles & 50–950 ramp
primary
#2A4B8A
secondary
#B4965B
accent
#AB4BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F