#2A5BBC#2A5BBC
#2A5BBC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.162 H 262.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5BBC |
|---|---|
| RGB | rgb(42, 91, 188) |
| HSL | hsl(220, 63%, 45%) |
| HSV | hsv(220, 78%, 74%) |
| CMYK | cmyk(77.7%, 51.6%, 0%, 26.3%) |
| CIE-LAB | lab(40.58, 18.73, -55.80) |
| CIE-LCH | lch(40.58, 58.86, 288.55°) |
| OKLab | oklab(49.41% -0.0222 -0.1606) |
| OKLCH | oklch(49.41% 0.162 262.1) |
| XYZ | xyz(13.7698, 11.6037, 49.0812) |
| Luminance | 0.1161 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.90
Sapphire
#0F52BA
ΔE00 3.04
Denim Blue
#3B5B92
ΔE00 5.23
French Blue
#436BAD
ΔE00 5.70
Azul
#1D5DEC
ΔE00 6.00
Denim (survey)
#3B638C
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5BBC #BC8B2A
analogous
#2AA4BC #2A5BBC #422ABC
triadic
#2A5BBC #BC2A5B #5BBC2A
tetradic
#2A5BBC #BC2AA4 #BC8B2A #2ABC42
square
#2A5BBC #BC2AA4 #BC8B2A #2ABC42
split-complementary
#2A5BBC #BC422A #A4BC2A
monochromatic
#142B58 #1F438A #2A5BBC #4C7BD7 #7EA0E2
Accessibility & contrast
On white
6.32
#2A5BBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#2A5BBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5BBC
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5BBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5BBC | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A67BF
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2a5bbc; /* rgb */ color: rgb(42, 91, 188); /* oklch */ color: oklch(49.4% 0.162 262.1);
Tailwind
colors: {
custom: {
50: '#7a88d1',
500: '#2a5bbc',
950: '#000000',
},
}SCSS
$custom: #2a5bbc; $custom-light: #7a88d1; $custom-dark: #000000;
JSON
{
"hex": "#2a5bbc",
"rgb": {
"r": 42,
"g": 91,
"b": 188
},
"hsl": {
"h": 219.863,
"s": 63.478,
"l": 45.098
},
"oklch": {
"l": 0.49414,
"c": 0.16218,
"h": 262.1
},
"luminance": 0.11605
}Semantic roles & 50–950 ramp
primary
#2A5BBC
secondary
#CBAF77
accent
#AF41E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82