#2A4FBC#2A4FBC
#2A4FBC is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.177 H 265.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4FBC |
|---|---|
| RGB | rgb(42, 79, 188) |
| HSL | hsl(225, 63%, 45%) |
| HSV | hsv(225, 78%, 74%) |
| CMYK | cmyk(77.7%, 58%, 0%, 26.3%) |
| CIE-LAB | lab(37.32, 26.61, -61.08) |
| CIE-LCH | lch(37.32, 66.63, 293.54°) |
| OKLab | oklab(46.95% -0.0136 -0.1764) |
| OKLCH | oklch(46.95% 0.177 265.6) |
| XYZ | xyz(12.8247, 9.7136, 48.7662) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.65
Cobalt
#0047AB
ΔE00 4.07
Blue Blue
#2242C7
ΔE00 4.40
Blue (survey)
#0343DF
ΔE00 5.59
Warm Blue
#4B57DB
ΔE00 6.43
Cobalt (survey)
#1E488F
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4FBC #BC972A
analogous
#2A98BC #2A4FBC #4E2ABC
triadic
#2A4FBC #BC2A4F #4FBC2A
tetradic
#2A4FBC #BC2A98 #BC972A #2ABC4E
square
#2A4FBC #BC2A98 #BC972A #2ABC4E
split-complementary
#2A4FBC #BC4E2A #98BC2A
monochromatic
#142558 #1F3A8A #2A4FBC #4C6FD7 #7E98E2
Accessibility & contrast
On white
7.14
#2A4FBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#2A4FBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4FBC
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4FBC | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2a4fbc; /* rgb */ color: rgb(42, 79, 188); /* oklch */ color: oklch(47.0% 0.177 265.6);
Tailwind
colors: {
custom: {
50: '#7a7fd1',
500: '#2a4fbc',
950: '#000000',
},
}SCSS
$custom: #2a4fbc; $custom-light: #7a7fd1; $custom-dark: #000000;
JSON
{
"hex": "#2a4fbc",
"rgb": {
"r": 42,
"g": 79,
"b": 188
},
"hsl": {
"h": 224.795,
"s": 63.478,
"l": 45.098
},
"oklch": {
"l": 0.46953,
"c": 0.17691,
"h": 265.6
},
"luminance": 0.09715
}Semantic roles & 50–950 ramp
primary
#2A4FBC
secondary
#CBB677
accent
#BD41E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82