#2A55B5#2A55B5
#2A55B5 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.160 H 263.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2A55B5 |
|---|---|
| RGB | rgb(42, 85, 181) |
| HSL | hsl(221, 62%, 44%) |
| HSV | hsv(221, 77%, 71%) |
| CMYK | cmyk(76.8%, 53%, 0%, 29%) |
| CIE-LAB | lab(38.42, 19.99, -55.19) |
| CIE-LCH | lch(38.42, 58.70, 289.91°) |
| OKLab | oklab(47.61% -0.0184 -0.159) |
| OKLCH | oklch(47.61% 0.16 263.4) |
| XYZ | xyz(12.5409, 10.3240, 45.0389) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.68
Denim
#1560BD
ΔE00 4.72
Cobalt
#0047AB
ΔE00 4.73
Denim Blue
#3B5B92
ΔE00 4.99
Dusk Blue
#26538D
ΔE00 5.45
Light Navy Blue
#2E5A88
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A55B5 #B58A2A
analogous
#2A9AB5 #2A55B5 #442AB5
triadic
#2A55B5 #B52A55 #55B52A
tetradic
#2A55B5 #B52A9A #B58A2A #2AB544
square
#2A55B5 #B52A9A #B58A2A #2AB544
split-complementary
#2A55B5 #B5442A #9AB52A
monochromatic
#132652 #1E3E83 #2A55B5 #4873D4 #7999E0
Accessibility & contrast
On white
6.85
#2A55B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#2A55B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A55B5
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A55B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A55B5 | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E61B8
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a55b5; /* rgb */ color: rgb(42, 85, 181); /* oklch */ color: oklch(47.6% 0.160 263.4);
Tailwind
colors: {
custom: {
50: '#7884cc',
500: '#2a55b5',
950: '#000000',
},
}SCSS
$custom: #2a55b5; $custom-light: #7884cc; $custom-dark: #000000;
JSON
{
"hex": "#2a55b5",
"rgb": {
"r": 42,
"g": 85,
"b": 181
},
"hsl": {
"h": 221.439,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.47612,
"c": 0.16004,
"h": 263.4
},
"luminance": 0.10325
}Semantic roles & 50–950 ramp
primary
#2A55B5
secondary
#C8AE73
accent
#B342E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A13
muted
#7C7C82