#2A55B7#2A55B7
#2A55B7 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.8% C 0.163 H 263.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2A55B7 |
|---|---|
| RGB | rgb(42, 85, 183) |
| HSL | hsl(222, 63%, 44%) |
| HSV | hsv(222, 77%, 72%) |
| CMYK | cmyk(77%, 53.6%, 0%, 28.2%) |
| CIE-LAB | lab(38.56, 20.75, -56.14) |
| CIE-LCH | lch(38.56, 59.85, 290.29°) |
| OKLab | oklab(47.77% -0.0182 -0.1617) |
| OKLCH | oklch(47.77% 0.163 263.6) |
| XYZ | xyz(12.7475, 10.4067, 46.1274) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.69
Denim
#1560BD
ΔE00 4.75
Cobalt
#0047AB
ΔE00 4.82
Denim Blue
#3B5B92
ΔE00 5.20
Dusk Blue
#26538D
ΔE00 5.71
Light Navy Blue
#2E5A88
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A55B7 #B78C2A
analogous
#2A9CB7 #2A55B7 #462AB7
triadic
#2A55B7 #B72A55 #55B72A
tetradic
#2A55B7 #B72A9C #B78C2A #2AB746
square
#2A55B7 #B72A9C #B78C2A #2AB746
split-complementary
#2A55B7 #B7462A #9CB72A
monochromatic
#132753 #1F3E85 #2A55B7 #4974D5 #7B9AE1
Accessibility & contrast
On white
6.81
#2A55B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#2A55B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A55B7
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A55B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A55B7 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0762BA
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#006D7D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2a55b7; /* rgb */ color: rgb(42, 85, 183); /* oklch */ color: oklch(47.8% 0.163 263.6);
Tailwind
colors: {
custom: {
50: '#7984cd',
500: '#2a55b7',
950: '#000000',
},
}SCSS
$custom: #2a55b7; $custom-light: #7984cd; $custom-dark: #000000;
JSON
{
"hex": "#2a55b7",
"rgb": {
"r": 42,
"g": 85,
"b": 183
},
"hsl": {
"h": 221.702,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.47768,
"c": 0.16277,
"h": 263.6
},
"luminance": 0.10408
}Semantic roles & 50–950 ramp
primary
#2A55B7
secondary
#C9AF74
accent
#B442E6
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A14
muted
#7C7C82