#2A5BBB#2A5BBB
#2A5BBB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.3% C 0.161 H 262.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5BBB |
|---|---|
| RGB | rgb(42, 91, 187) |
| HSL | hsl(220, 63%, 45%) |
| HSV | hsv(220, 78%, 73%) |
| CMYK | cmyk(77.5%, 51.3%, 0%, 26.7%) |
| CIE-LAB | lab(40.51, 18.34, -55.33) |
| CIE-LCH | lch(40.51, 58.29, 288.34°) |
| OKLab | oklab(49.34% -0.0224 -0.1593) |
| OKLCH | oklch(49.34% 0.161 262) |
| XYZ | xyz(13.6623, 11.5607, 48.5155) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.85
Sapphire
#0F52BA
ΔE00 3.02
Denim Blue
#3B5B92
ΔE00 5.12
French Blue
#436BAD
ΔE00 5.67
Denim (survey)
#3B638C
ΔE00 5.98
Dusky Blue
#475F94
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5BBB #BB8A2A
analogous
#2AA4BB #2A5BBB #412ABB
triadic
#2A5BBB #BB2A5B #5BBB2A
tetradic
#2A5BBB #BB2AA4 #BB8A2A #2ABB41
square
#2A5BBB #BB2AA4 #BB8A2A #2ABB41
split-complementary
#2A5BBB #BB412A #A4BB2A
monochromatic
#142A57 #1F4389 #2A5BBB #4C7BD7 #7D9FE2
Accessibility & contrast
On white
6.34
#2A5BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#2A5BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5BBB
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5BBB | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C66BE
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2a5bbb; /* rgb */ color: rgb(42, 91, 187); /* oklch */ color: oklch(49.3% 0.161 262.0);
Tailwind
colors: {
custom: {
50: '#7988d0',
500: '#2a5bbb',
950: '#000000',
},
}SCSS
$custom: #2a5bbb; $custom-light: #7988d0; $custom-dark: #000000;
JSON
{
"hex": "#2a5bbb",
"rgb": {
"r": 42,
"g": 91,
"b": 187
},
"hsl": {
"h": 219.724,
"s": 63.319,
"l": 44.902
},
"oklch": {
"l": 0.49338,
"c": 0.16082,
"h": 262
},
"luminance": 0.11562
}Semantic roles & 50–950 ramp
primary
#2A5BBB
secondary
#CAAE76
accent
#AF41E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82