#2A63B5#2A63B5
#2A63B5 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.7% C 0.143 H 258.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2A63B5 |
|---|---|
| RGB | rgb(42, 99, 181) |
| HSL | hsl(215, 62%, 44%) |
| HSV | hsv(215, 77%, 71%) |
| CMYK | cmyk(76.8%, 45.3%, 0%, 29%) |
| CIE-LAB | lab(42.38, 10.84, -48.80) |
| CIE-LCH | lch(42.38, 49.99, 282.53°) |
| OKLab | oklab(50.65% -0.0298 -0.1399) |
| OKLCH | oklch(50.65% 0.143 258) |
| XYZ | xyz(13.7541, 12.7505, 45.4433) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.43
Mid Blue
#276AB3
ΔE00 2.97
French Blue
#436BAD
ΔE00 3.42
Medium Blue
#2C6FBB
ΔE00 4.46
Denim (survey)
#3B638C
ΔE00 4.73
Denim Blue
#3B5B92
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A63B5 #B57C2A
analogous
#2AA8B5 #2A63B5 #362AB5
triadic
#2A63B5 #B52A63 #63B52A
tetradic
#2A63B5 #B52AA8 #B57C2A #2AB536
square
#2A63B5 #B52AA8 #B57C2A #2AB536
split-complementary
#2A63B5 #B5362A #A8B52A
monochromatic
#132D52 #1E4883 #2A63B5 #4881D4 #79A3E0
Accessibility & contrast
On white
5.91
#2A63B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#2A63B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A63B5
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A63B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A63B5 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386BB8
Deuteranopia (green-blind)
#1A5EB3
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2a63b5; /* rgb */ color: rgb(42, 99, 181); /* oklch */ color: oklch(50.7% 0.143 258.0);
Tailwind
colors: {
custom: {
50: '#788ecc',
500: '#2a63b5',
950: '#000000',
},
}SCSS
$custom: #2a63b5; $custom-light: #788ecc; $custom-dark: #000000;
JSON
{
"hex": "#2a63b5",
"rgb": {
"r": 42,
"g": 99,
"b": 181
},
"hsl": {
"h": 215.396,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.50651,
"c": 0.14303,
"h": 258
},
"luminance": 0.12752
}Semantic roles & 50–950 ramp
primary
#2A63B5
secondary
#C8A573
accent
#A342E5
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82