#2A5EB5#2A5EB5
#2A5EB5 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.149 H 260.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5EB5 |
|---|---|
| RGB | rgb(42, 94, 181) |
| HSL | hsl(218, 62%, 44%) |
| HSV | hsv(218, 77%, 71%) |
| CMYK | cmyk(76.8%, 48.1%, 0%, 29%) |
| CIE-LAB | lab(40.95, 14.08, -51.11) |
| CIE-LCH | lch(40.95, 53.01, 285.41°) |
| OKLab | oklab(49.55% -0.0256 -0.1468) |
| OKLCH | oklch(49.55% 0.149 260.1) |
| XYZ | xyz(13.2950, 11.8323, 45.2903) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.80
Sapphire
#0F52BA
ΔE00 4.03
Denim Blue
#3B5B92
ΔE00 4.59
French Blue
#436BAD
ΔE00 4.66
Mid Blue
#276AB3
ΔE00 4.83
Denim (survey)
#3B638C
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5EB5 #B5812A
analogous
#2AA3B5 #2A5EB5 #3B2AB5
triadic
#2A5EB5 #B52A5E #5EB52A
tetradic
#2A5EB5 #B52AA3 #B5812A #2AB53B
square
#2A5EB5 #B52AA3 #B5812A #2AB53B
split-complementary
#2A5EB5 #B53B2A #A3B52A
monochromatic
#132A52 #1E4483 #2A5EB5 #487CD4 #79A0E0
Accessibility & contrast
On white
6.24
#2A5EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#2A5EB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5EB5
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5EB5 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D67B8
Deuteranopia (green-blind)
#005BB3
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2a5eb5; /* rgb */ color: rgb(42, 94, 181); /* oklch */ color: oklch(49.5% 0.149 260.1);
Tailwind
colors: {
custom: {
50: '#788bcc',
500: '#2a5eb5',
950: '#000000',
},
}SCSS
$custom: #2a5eb5; $custom-light: #788bcc; $custom-dark: #000000;
JSON
{
"hex": "#2a5eb5",
"rgb": {
"r": 42,
"g": 94,
"b": 181
},
"hsl": {
"h": 217.554,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.49545,
"c": 0.149,
"h": 260.1
},
"luminance": 0.11834
}Semantic roles & 50–950 ramp
primary
#2A5EB5
secondary
#C8A873
accent
#A842E5
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B13
muted
#7C7C82