#2A4FB0#2A4FB0
#2A4FB0 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.161 H 264.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4FB0 |
|---|---|
| RGB | rgb(42, 79, 176) |
| HSL | hsl(223, 61%, 43%) |
| HSV | hsv(223, 76%, 69%) |
| CMYK | cmyk(76.1%, 55.1%, 0%, 31%) |
| CIE-LAB | lab(36.40, 22.04, -55.51) |
| CIE-LCH | lch(36.40, 59.73, 291.66°) |
| OKLab | oklab(45.97% -0.0143 -0.16) |
| OKLCH | oklch(45.97% 0.161 264.9) |
| XYZ | xyz(11.5845, 9.2175, 42.2345) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.37
Cobalt
#0047AB
ΔE00 3.15
Cobalt (survey)
#1E488F
ΔE00 5.12
Blue Blue
#2242C7
ΔE00 5.46
Dusk Blue
#26538D
ΔE00 5.57
Denim Blue
#3B5B92
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4FB0 #B08B2A
analogous
#2A92B0 #2A4FB0 #482AB0
triadic
#2A4FB0 #B02A4F #4FB02A
tetradic
#2A4FB0 #B02A92 #B08B2A #2AB048
square
#2A4FB0 #B02A92 #B08B2A #2AB048
split-complementary
#2A4FB0 #B0482A #92B02A
monochromatic
#12234D #1E397F #2A4FB0 #456CD3 #7693DE
Accessibility & contrast
On white
7.38
#2A4FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2A4FB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4FB0
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4FB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4FB0 | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2a4fb0; /* rgb */ color: rgb(42, 79, 176); /* oklch */ color: oklch(46.0% 0.161 264.9);
Tailwind
colors: {
custom: {
50: '#777fc8',
500: '#2a4fb0',
950: '#000000',
},
}SCSS
$custom: #2a4fb0; $custom-light: #777fc8; $custom-dark: #000000;
JSON
{
"hex": "#2a4fb0",
"rgb": {
"r": 42,
"g": 79,
"b": 176
},
"hsl": {
"h": 223.433,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.45968,
"c": 0.16067,
"h": 264.9
},
"luminance": 0.09219
}Semantic roles & 50–950 ramp
primary
#2A4FB0
secondary
#C6AE70
accent
#B843E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82