#2A4BBD#2A4BBD
#2A4BBD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.183 H 266.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4BBD |
|---|---|
| RGB | rgb(42, 75, 189) |
| HSL | hsl(227, 64%, 45%) |
| HSV | hsv(227, 78%, 74%) |
| CMYK | cmyk(77.8%, 60.3%, 0%, 25.9%) |
| CIE-LAB | lab(36.36, 29.61, -63.24) |
| CIE-LCH | lch(36.36, 69.83, 295.09°) |
| OKLab | oklab(46.26% -0.0109 -0.1828) |
| OKLCH | oklch(46.26% 0.183 266.6) |
| XYZ | xyz(12.6530, 9.1971, 49.2426) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.09
Sapphire
#0F52BA
ΔE00 3.78
Cobalt
#0047AB
ΔE00 4.02
Blue (survey)
#0343DF
ΔE00 4.72
Sapphire (survey)
#2138AB
ΔE00 6.01
Ocean Blue
#4F42B5
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4BBD #BD9C2A
analogous
#2A94BD #2A4BBD #532ABD
triadic
#2A4BBD #BD2A4B #4BBD2A
tetradic
#2A4BBD #BD2A94 #BD9C2A #2ABD53
square
#2A4BBD #BD2A94 #BD9C2A #2ABD53
split-complementary
#2A4BBD #BD532A #94BD2A
monochromatic
#142359 #1F378B #2A4BBD #4D6CD7 #7F95E3
Accessibility & contrast
On white
7.39
#2A4BBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2A4BBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4BBD
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4BBD | 1.00 | 7.39 | 2.84 | 7.39 |
| #FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2a4bbd; /* rgb */ color: rgb(42, 75, 189); /* oklch */ color: oklch(46.3% 0.183 266.6);
Tailwind
colors: {
custom: {
50: '#7b7cd2',
500: '#2a4bbd',
950: '#000000',
},
}SCSS
$custom: #2a4bbd; $custom-light: #7b7cd2; $custom-dark: #000000;
JSON
{
"hex": "#2a4bbd",
"rgb": {
"r": 42,
"g": 75,
"b": 189
},
"hsl": {
"h": 226.531,
"s": 63.636,
"l": 45.294
},
"oklch": {
"l": 0.46259,
"c": 0.18311,
"h": 266.6
},
"luminance": 0.09199
}Semantic roles & 50–950 ramp
primary
#2A4BBD
secondary
#CBB878
accent
#C241E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83