#2A5BAE#2A5BAE
#2A5BAE is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.4% C 0.143 H 260.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5BAE |
|---|---|
| RGB | rgb(42, 91, 174) |
| HSL | hsl(218, 61%, 42%) |
| HSV | hsv(218, 76%, 68%) |
| CMYK | cmyk(75.9%, 47.7%, 0%, 31.8%) |
| CIE-LAB | lab(39.63, 13.35, -49.11) |
| CIE-LCH | lch(39.63, 50.90, 285.21°) |
| OKLab | oklab(48.38% -0.0242 -0.141) |
| OKLCH | oklch(48.38% 0.143 260.3) |
| XYZ | xyz(12.3331, 11.0290, 41.5150) |
| Luminance | 0.1103 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.77
Sapphire
#0F52BA
ΔE00 3.36
Denim Blue
#3B5B92
ΔE00 3.75
Light Navy Blue
#2E5A88
ΔE00 4.69
Dusk Blue
#26538D
ΔE00 4.73
Denim (survey)
#3B638C
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5BAE #AE7D2A
analogous
#2A9DAE #2A5BAE #3B2AAE
triadic
#2A5BAE #AE2A5B #5BAE2A
tetradic
#2A5BAE #AE2A9D #AE7D2A #2AAE3B
square
#2A5BAE #AE2A9D #AE7D2A #2AAE3B
split-complementary
#2A5BAE #AE3B2A #9DAE2A
monochromatic
#12274B #1E417D #2A5BAE #4378D2 #759CDE
Accessibility & contrast
On white
6.55
#2A5BAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#2A5BAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5BAE
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5BAE | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E64B1
Deuteranopia (green-blind)
#0758AC
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2a5bae; /* rgb */ color: rgb(42, 91, 174); /* oklch */ color: oklch(48.4% 0.143 260.3);
Tailwind
colors: {
custom: {
50: '#7688c7',
500: '#2a5bae',
950: '#000000',
},
}SCSS
$custom: #2a5bae; $custom-light: #7688c7; $custom-dark: #000000;
JSON
{
"hex": "#2a5bae",
"rgb": {
"r": 42,
"g": 91,
"b": 174
},
"hsl": {
"h": 217.727,
"s": 61.111,
"l": 42.353
},
"oklch": {
"l": 0.48384,
"c": 0.14303,
"h": 260.3
},
"luminance": 0.1103
}Semantic roles & 50–950 ramp
primary
#2A5BAE
secondary
#C5A56F
accent
#A944E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82