#2A5EB6#2A5EB6
#2A5EB6 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.6% C 0.150 H 260.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5EB6 |
|---|---|
| RGB | rgb(42, 94, 182) |
| HSL | hsl(218, 63%, 44%) |
| HSV | hsv(218, 77%, 71%) |
| CMYK | cmyk(76.9%, 48.4%, 0%, 28.6%) |
| CIE-LAB | lab(41.01, 14.47, -51.59) |
| CIE-LCH | lch(41.01, 53.58, 285.66°) |
| OKLab | oklab(49.62% -0.0254 -0.1482) |
| OKLCH | oklch(49.62% 0.15 260.3) |
| XYZ | xyz(13.3980, 11.8735, 45.8326) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.80
Sapphire
#0F52BA
ΔE00 4.01
French Blue
#436BAD
ΔE00 4.67
Denim Blue
#3B5B92
ΔE00 4.68
Mid Blue
#276AB3
ΔE00 4.87
Denim (survey)
#3B638C
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5EB6 #B6822A
analogous
#2AA4B6 #2A5EB6 #3C2AB6
triadic
#2A5EB6 #B62A5E #5EB62A
tetradic
#2A5EB6 #B62AA4 #B6822A #2AB63C
square
#2A5EB6 #B62AA4 #B6822A #2AB63C
split-complementary
#2A5EB6 #B63C2A #A4B62A
monochromatic
#132B53 #1F4484 #2A5EB6 #487DD5 #7AA0E0
Accessibility & contrast
On white
6.22
#2A5EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#2A5EB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5EB6
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5EB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5EB6 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C68B9
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2a5eb6; /* rgb */ color: rgb(42, 94, 182); /* oklch */ color: oklch(49.6% 0.150 260.3);
Tailwind
colors: {
custom: {
50: '#788bcc',
500: '#2a5eb6',
950: '#000000',
},
}SCSS
$custom: #2a5eb6; $custom-light: #788bcc; $custom-dark: #000000;
JSON
{
"hex": "#2a5eb6",
"rgb": {
"r": 42,
"g": 94,
"b": 182
},
"hsl": {
"h": 217.714,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.49616,
"c": 0.15036,
"h": 260.3
},
"luminance": 0.11875
}Semantic roles & 50–950 ramp
primary
#2A5EB6
secondary
#C8A973
accent
#A942E6
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B13
muted
#7C7C82