#2A5FB0#2A5FB0
#2A5FB0 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.4% C 0.141 H 258.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2A5FB0 |
|---|---|
| RGB | rgb(42, 95, 176) |
| HSL | hsl(216, 61%, 43%) |
| HSV | hsv(216, 76%, 69%) |
| CMYK | cmyk(76.1%, 46%, 0%, 31%) |
| CIE-LAB | lab(40.91, 11.51, -48.23) |
| CIE-LCH | lch(40.91, 49.59, 283.43°) |
| OKLab | oklab(49.41% -0.0273 -0.1383) |
| OKLCH | oklch(49.41% 0.141 258.8) |
| XYZ | xyz(12.8807, 11.8098, 42.6665) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.71
Denim Blue
#3B5B92
ΔE00 4.27
Mid Blue
#276AB3
ΔE00 4.30
French Blue
#436BAD
ΔE00 4.40
Denim (survey)
#3B638C
ΔE00 4.52
Sapphire
#0F52BA
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A5FB0 #B07B2A
analogous
#2AA2B0 #2A5FB0 #382AB0
triadic
#2A5FB0 #B02A5F #5FB02A
tetradic
#2A5FB0 #B02AA2 #B07B2A #2AB038
square
#2A5FB0 #B02AA2 #B07B2A #2AB038
split-complementary
#2A5FB0 #B0382A #A2B02A
monochromatic
#122A4D #1E447F #2A5FB0 #457DD3 #769FDE
Accessibility & contrast
On white
6.25
#2A5FB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#2A5FB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A5FB0
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A5FB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A5FB0 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3567B3
Deuteranopia (green-blind)
#165BAE
Tritanopia (blue-blind)
#00727F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2a5fb0; /* rgb */ color: rgb(42, 95, 176); /* oklch */ color: oklch(49.4% 0.141 258.8);
Tailwind
colors: {
custom: {
50: '#778bc8',
500: '#2a5fb0',
950: '#000000',
},
}SCSS
$custom: #2a5fb0; $custom-light: #778bc8; $custom-dark: #000000;
JSON
{
"hex": "#2a5fb0",
"rgb": {
"r": 42,
"g": 95,
"b": 176
},
"hsl": {
"h": 216.269,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.49413,
"c": 0.14096,
"h": 258.8
},
"luminance": 0.11811
}Semantic roles & 50–950 ramp
primary
#2A5FB0
secondary
#C6A470
accent
#A543E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82