#2A4ABC#2A4ABC
#2A4ABC is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.183 H 266.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4ABC |
|---|---|
| RGB | rgb(42, 74, 188) |
| HSL | hsl(227, 63%, 45%) |
| HSV | hsv(227, 78%, 74%) |
| CMYK | cmyk(77.7%, 60.6%, 0%, 26.3%) |
| CIE-LAB | lab(36.02, 29.89, -63.21) |
| CIE-LCH | lch(36.02, 69.92, 295.31°) |
| OKLab | oklab(45.98% -0.0103 -0.1827) |
| OKLCH | oklch(45.98% 0.183 266.8) |
| XYZ | xyz(12.4775, 9.0192, 48.6505) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.87
Cobalt
#0047AB
ΔE00 3.93
Sapphire
#0F52BA
ΔE00 4.01
Blue (survey)
#0343DF
ΔE00 4.69
Sapphire (survey)
#2138AB
ΔE00 5.68
Ocean Blue
#4F42B5
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4ABC #BC9C2A
analogous
#2A93BC #2A4ABC #532ABC
triadic
#2A4ABC #BC2A4A #4ABC2A
tetradic
#2A4ABC #BC2A93 #BC9C2A #2ABC53
square
#2A4ABC #BC2A93 #BC9C2A #2ABC53
split-complementary
#2A4ABC #BC532A #93BC2A
monochromatic
#142358 #1F368A #2A4ABC #4C6BD7 #7E94E2
Accessibility & contrast
On white
7.49
#2A4ABC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#2A4ABC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4ABC
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4ABC | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2a4abc; /* rgb */ color: rgb(42, 74, 188); /* oklch */ color: oklch(46.0% 0.183 266.8);
Tailwind
colors: {
custom: {
50: '#7b7cd1',
500: '#2a4abc',
950: '#000000',
},
}SCSS
$custom: #2a4abc; $custom-light: #7b7cd1; $custom-dark: #000000;
JSON
{
"hex": "#2a4abc",
"rgb": {
"r": 42,
"g": 74,
"b": 188
},
"hsl": {
"h": 226.849,
"s": 63.478,
"l": 45.098
},
"oklch": {
"l": 0.4598,
"c": 0.18299,
"h": 266.8
},
"luminance": 0.09021
}Semantic roles & 50–950 ramp
primary
#2A4ABC
secondary
#CBB877
accent
#C241E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83