#2A4FB1#2A4FB1
#2A4FB1 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.0% C 0.162 H 265.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4FB1 |
|---|---|
| RGB | rgb(42, 79, 177) |
| HSL | hsl(224, 62%, 43%) |
| HSV | hsv(224, 76%, 69%) |
| CMYK | cmyk(76.3%, 55.4%, 0%, 30.6%) |
| CIE-LAB | lab(36.47, 22.43, -55.98) |
| CIE-LCH | lch(36.47, 60.31, 291.83°) |
| OKLab | oklab(46.05% -0.0142 -0.1614) |
| OKLCH | oklch(46.05% 0.162 265) |
| XYZ | xyz(11.6838, 9.2572, 42.7575) |
| Luminance | 0.0926 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.35
Cobalt
#0047AB
ΔE00 3.21
Cobalt (survey)
#1E488F
ΔE00 5.25
Blue Blue
#2242C7
ΔE00 5.35
Dusk Blue
#26538D
ΔE00 5.69
Denim Blue
#3B5B92
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4FB1 #B18C2A
analogous
#2A92B1 #2A4FB1 #492AB1
triadic
#2A4FB1 #B12A4F #4FB12A
tetradic
#2A4FB1 #B12A92 #B18C2A #2AB149
square
#2A4FB1 #B12A92 #B18C2A #2AB149
split-complementary
#2A4FB1 #B1492A #92B12A
monochromatic
#13234E #1E3980 #2A4FB1 #456CD3 #7793DF
Accessibility & contrast
On white
7.36
#2A4FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2A4FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4FB1
7.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4FB1 | 1.00 | 7.36 | 2.85 | 7.36 |
| #FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2a4fb1; /* rgb */ color: rgb(42, 79, 177); /* oklch */ color: oklch(46.0% 0.162 265.0);
Tailwind
colors: {
custom: {
50: '#787fc9',
500: '#2a4fb1',
950: '#000000',
},
}SCSS
$custom: #2a4fb1; $custom-light: #787fc9; $custom-dark: #000000;
JSON
{
"hex": "#2a4fb1",
"rgb": {
"r": 42,
"g": 79,
"b": 177
},
"hsl": {
"h": 223.556,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.46048,
"c": 0.16203,
"h": 265
},
"luminance": 0.09259
}Semantic roles & 50–950 ramp
primary
#2A4FB1
secondary
#C6AF70
accent
#B843E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82