#2A55B3#2A55B3
#2A55B3 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.157 H 263.2°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2A55B3 |
|---|---|
| RGB | rgb(42, 85, 179) |
| HSL | hsl(221, 62%, 43%) |
| HSV | hsv(221, 77%, 70%) |
| CMYK | cmyk(76.5%, 52.5%, 0%, 29.8%) |
| CIE-LAB | lab(38.27, 19.22, -54.25) |
| CIE-LCH | lch(38.27, 57.55, 289.51°) |
| OKLab | oklab(47.46% -0.0186 -0.1562) |
| OKLCH | oklch(47.46% 0.157 263.2) |
| XYZ | xyz(12.3371, 10.2425, 43.9659) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.72
Cobalt
#0047AB
ΔE00 4.66
Denim
#1560BD
ΔE00 4.69
Denim Blue
#3B5B92
ΔE00 4.77
Dusk Blue
#26538D
ΔE00 5.19
Light Navy Blue
#2E5A88
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A55B3 #B3882A
analogous
#2A99B3 #2A55B3 #432AB3
triadic
#2A55B3 #B32A55 #55B32A
tetradic
#2A55B3 #B32A99 #B3882A #2AB343
square
#2A55B3 #B32A99 #B3882A #2AB343
split-complementary
#2A55B3 #B3432A #99B32A
monochromatic
#132650 #1E3D81 #2A55B3 #4673D4 #7898DF
Accessibility & contrast
On white
6.89
#2A55B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#2A55B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A55B3
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A55B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A55B3 | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1461B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2a55b3; /* rgb */ color: rgb(42, 85, 179); /* oklch */ color: oklch(47.5% 0.157 263.2);
Tailwind
colors: {
custom: {
50: '#7884ca',
500: '#2a55b3',
950: '#000000',
},
}SCSS
$custom: #2a55b3; $custom-light: #7884ca; $custom-dark: #000000;
JSON
{
"hex": "#2a55b3",
"rgb": {
"r": 42,
"g": 85,
"b": 179
},
"hsl": {
"h": 221.168,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.47457,
"c": 0.15731,
"h": 263.2
},
"luminance": 0.10244
}Semantic roles & 50–950 ramp
primary
#2A55B3
secondary
#C7AC72
accent
#B243E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82