#2A63B4#2A63B4
#2A63B4 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.6% C 0.142 H 257.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2A63B4 |
|---|---|
| RGB | rgb(42, 99, 180) |
| HSL | hsl(215, 62%, 44%) |
| HSV | hsv(215, 77%, 71%) |
| CMYK | cmyk(76.7%, 45%, 0%, 29.4%) |
| CIE-LAB | lab(42.32, 10.46, -48.31) |
| CIE-LCH | lch(42.32, 49.43, 282.22°) |
| OKLab | oklab(50.58% -0.0299 -0.1385) |
| OKLCH | oklch(50.58% 0.142 257.8) |
| XYZ | xyz(13.6519, 12.7096, 44.9049) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.47
Mid Blue
#276AB3
ΔE00 2.92
French Blue
#436BAD
ΔE00 3.43
Medium Blue
#2C6FBB
ΔE00 4.45
Denim (survey)
#3B638C
ΔE00 4.64
Denim Blue
#3B5B92
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A63B4 #B47B2A
analogous
#2AA8B4 #2A63B4 #362AB4
triadic
#2A63B4 #B42A63 #63B42A
tetradic
#2A63B4 #B42AA8 #B47B2A #2AB436
square
#2A63B4 #B42AA8 #B47B2A #2AB436
split-complementary
#2A63B4 #B4362A #A8B42A
monochromatic
#132C51 #1E4882 #2A63B4 #4781D4 #79A3E0
Accessibility & contrast
On white
5.93
#2A63B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#2A63B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A63B4
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A63B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A63B4 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396BB7
Deuteranopia (green-blind)
#1C5EB2
Tritanopia (blue-blind)
#007682
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2a63b4; /* rgb */ color: rgb(42, 99, 180); /* oklch */ color: oklch(50.6% 0.142 257.8);
Tailwind
colors: {
custom: {
50: '#778ecb',
500: '#2a63b4',
950: '#000000',
},
}SCSS
$custom: #2a63b4; $custom-light: #778ecb; $custom-dark: #000000;
JSON
{
"hex": "#2a63b4",
"rgb": {
"r": 42,
"g": 99,
"b": 180
},
"hsl": {
"h": 215.217,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.50583,
"c": 0.14167,
"h": 257.8
},
"luminance": 0.12711
}Semantic roles & 50–950 ramp
primary
#2A63B4
secondary
#C8A472
accent
#A243E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82