#2A5ABC#2A5ABC
#2A5ABC is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.2% C 0.163 H 262.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5ABC |
|---|---|
| RGB | rgb(42, 90, 188) |
| HSL | hsl(220, 63%, 45%) |
| HSV | hsv(220, 78%, 74%) |
| CMYK | cmyk(77.7%, 52.1%, 0%, 26.3%) |
| CIE-LAB | lab(40.30, 19.38, -56.25) |
| CIE-LCH | lch(40.30, 59.49, 289.01°) |
| OKLab | oklab(49.2% -0.0215 -0.162) |
| OKLCH | oklch(49.2% 0.163 262.4) |
| XYZ | xyz(13.6849, 11.4338, 49.0529) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.76
Denim
#1560BD
ΔE00 3.22
Denim Blue
#3B5B92
ΔE00 5.26
French Blue
#436BAD
ΔE00 6.01
Azul
#1D5DEC
ΔE00 6.03
Dusky Blue
#475F94
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5ABC #BC8C2A
analogous
#2AA3BC #2A5ABC #432ABC
triadic
#2A5ABC #BC2A5A #5ABC2A
tetradic
#2A5ABC #BC2AA3 #BC8C2A #2ABC43
square
#2A5ABC #BC2AA3 #BC8C2A #2ABC43
split-complementary
#2A5ABC #BC432A #A3BC2A
monochromatic
#142A58 #1F428A #2A5ABC #4C7AD7 #7E9FE2
Accessibility & contrast
On white
6.39
#2A5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#2A5ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5ABC
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5ABC | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1666BF
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2a5abc; /* rgb */ color: rgb(42, 90, 188); /* oklch */ color: oklch(49.2% 0.163 262.4);
Tailwind
colors: {
custom: {
50: '#7a88d1',
500: '#2a5abc',
950: '#000000',
},
}SCSS
$custom: #2a5abc; $custom-light: #7a88d1; $custom-dark: #000000;
JSON
{
"hex": "#2a5abc",
"rgb": {
"r": 42,
"g": 90,
"b": 188
},
"hsl": {
"h": 220.274,
"s": 63.478,
"l": 45.098
},
"oklch": {
"l": 0.49203,
"c": 0.16341,
"h": 262.4
},
"luminance": 0.11435
}Semantic roles & 50–950 ramp
primary
#2A5ABC
secondary
#CBAF77
accent
#B041E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82