#2A4BBC#2A4BBC
#2A4BBC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.182 H 266.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4BBC |
|---|---|
| RGB | rgb(42, 75, 188) |
| HSL | hsl(226, 63%, 45%) |
| HSV | hsv(226, 78%, 74%) |
| CMYK | cmyk(77.7%, 60.1%, 0%, 26.3%) |
| CIE-LAB | lab(36.28, 29.23, -62.79) |
| CIE-LCH | lch(36.28, 69.26, 294.97°) |
| OKLab | oklab(46.17% -0.0109 -0.1814) |
| OKLCH | oklch(46.17% 0.182 266.5) |
| XYZ | xyz(12.5448, 9.1538, 48.6729) |
| Luminance | 0.0916 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.16
Sapphire
#0F52BA
ΔE00 3.72
Cobalt
#0047AB
ΔE00 3.90
Blue (survey)
#0343DF
ΔE00 4.84
Sapphire (survey)
#2138AB
ΔE00 5.98
Ocean Blue
#4F42B5
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4BBC #BC9B2A
analogous
#2A94BC #2A4BBC #522ABC
triadic
#2A4BBC #BC2A4B #4BBC2A
tetradic
#2A4BBC #BC2A94 #BC9B2A #2ABC52
square
#2A4BBC #BC2A94 #BC9B2A #2ABC52
split-complementary
#2A4BBC #BC522A #94BC2A
monochromatic
#142358 #1F378A #2A4BBC #4C6CD7 #7E95E2
Accessibility & contrast
On white
7.42
#2A4BBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#2A4BBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4BBC
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4BBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4BBC | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2a4bbc; /* rgb */ color: rgb(42, 75, 188); /* oklch */ color: oklch(46.2% 0.182 266.5);
Tailwind
colors: {
custom: {
50: '#7b7cd1',
500: '#2a4bbc',
950: '#000000',
},
}SCSS
$custom: #2a4bbc; $custom-light: #7b7cd1; $custom-dark: #000000;
JSON
{
"hex": "#2a4bbc",
"rgb": {
"r": 42,
"g": 75,
"b": 188
},
"hsl": {
"h": 226.438,
"s": 63.478,
"l": 45.098
},
"oklch": {
"l": 0.46172,
"c": 0.18178,
"h": 266.5
},
"luminance": 0.09155
}Semantic roles & 50–950 ramp
primary
#2A4BBC
secondary
#CBB877
accent
#C141E7
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83