#2A4BAE#2A4BAE
#2A4BAE is a dark, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.163 H 266.0°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4BAE |
|---|---|
| RGB | rgb(42, 75, 174) |
| HSL | hsl(225, 61%, 42%) |
| HSV | hsv(225, 76%, 68%) |
| CMYK | cmyk(75.9%, 56.9%, 0%, 31.8%) |
| CIE-LAB | lab(35.16, 23.94, -56.34) |
| CIE-LCH | lch(35.16, 61.21, 293.02°) |
| OKLab | oklab(44.99% -0.0114 -0.1625) |
| OKLCH | oklch(44.99% 0.163 266) |
| XYZ | xyz(11.1082, 8.5792, 41.1067) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.65
Sapphire
#0F52BA
ΔE00 3.47
Blue Blue
#2242C7
ΔE00 4.63
Cobalt (survey)
#1E488F
ΔE00 4.90
Sapphire (survey)
#2138AB
ΔE00 5.89
Dusk Blue
#26538D
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4BAE #AE8D2A
analogous
#2A8DAE #2A4BAE #4B2AAE
triadic
#2A4BAE #AE2A4B #4BAE2A
tetradic
#2A4BAE #AE2A8D #AE8D2A #2AAE4B
square
#2A4BAE #AE2A8D #AE8D2A #2AAE4B
split-complementary
#2A4BAE #AE4B2A #8DAE2A
monochromatic
#12214B #1E367D #2A4BAE #4367D2 #758FDE
Accessibility & contrast
On white
7.73
#2A4BAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2A4BAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4BAE
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4BAE | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2a4bae; /* rgb */ color: rgb(42, 75, 174); /* oklch */ color: oklch(45.0% 0.163 266.0);
Tailwind
colors: {
custom: {
50: '#777cc7',
500: '#2a4bae',
950: '#000000',
},
}SCSS
$custom: #2a4bae; $custom-light: #777cc7; $custom-dark: #000000;
JSON
{
"hex": "#2a4bae",
"rgb": {
"r": 42,
"g": 75,
"b": 174
},
"hsl": {
"h": 225,
"s": 61.111,
"l": 42.353
},
"oklch": {
"l": 0.44987,
"c": 0.16292,
"h": 266
},
"luminance": 0.0858
}Semantic roles & 50–950 ramp
primary
#2A4BAE
secondary
#C5B06F
accent
#BC44E4
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82