#2A63B9#2A63B9
#2A63B9 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.9% C 0.148 H 258.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2A63B9 |
|---|---|
| RGB | rgb(42, 99, 185) |
| HSL | hsl(216, 63%, 45%) |
| HSV | hsv(216, 77%, 73%) |
| CMYK | cmyk(77.3%, 46.5%, 0%, 27.5%) |
| CIE-LAB | lab(42.64, 12.38, -50.73) |
| CIE-LCH | lch(42.64, 52.22, 283.71°) |
| OKLab | oklab(50.93% -0.029 -0.1456) |
| OKLCH | oklch(50.93% 0.148 258.7) |
| XYZ | xyz(14.1704, 12.9171, 47.6359) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.39
Mid Blue
#276AB3
ΔE00 3.19
French Blue
#436BAD
ΔE00 3.43
Medium Blue
#2C6FBB
ΔE00 4.50
Denim (survey)
#3B638C
ΔE00 5.09
Denim Blue
#3B5B92
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A63B9 #B9802A
analogous
#2AABB9 #2A63B9 #392AB9
triadic
#2A63B9 #B92A63 #63B92A
tetradic
#2A63B9 #B92AAB #B9802A #2AB939
square
#2A63B9 #B92AAB #B9802A #2AB939
split-complementary
#2A63B9 #B9392A #ABB92A
monochromatic
#132E55 #1F4887 #2A63B9 #4A82D6 #7CA4E1
Accessibility & contrast
On white
5.86
#2A63B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#2A63B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A63B9
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A63B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A63B9 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356CBC
Deuteranopia (green-blind)
#105FB7
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2a63b9; /* rgb */ color: rgb(42, 99, 185); /* oklch */ color: oklch(50.9% 0.148 258.7);
Tailwind
colors: {
custom: {
50: '#798ece',
500: '#2a63b9',
950: '#000000',
},
}SCSS
$custom: #2a63b9; $custom-light: #798ece; $custom-dark: #000000;
JSON
{
"hex": "#2a63b9",
"rgb": {
"r": 42,
"g": 99,
"b": 185
},
"hsl": {
"h": 216.084,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.50928,
"c": 0.14844,
"h": 258.7
},
"luminance": 0.12919
}Semantic roles & 50–950 ramp
primary
#2A63B9
secondary
#CAA875
accent
#A542E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82