#2A6EC4#2A6EC4
#2A6EC4 is a mid, vivid cyan. Relative luminance 0.156; OKLCH L 54.1% C 0.150 H 256.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6EC4 |
|---|---|
| RGB | rgb(42, 110, 196) |
| HSL | hsl(214, 65%, 47%) |
| HSV | hsv(214, 79%, 77%) |
| CMYK | cmyk(78.6%, 43.9%, 0%, 23.1%) |
| CIE-LAB | lab(46.48, 9.55, -50.93) |
| CIE-LCH | lch(46.48, 51.82, 280.62°) |
| OKLab | oklab(54.12% -0.0361 -0.146) |
| OKLCH | oklch(54.12% 0.15 256.1) |
| XYZ | xyz(16.4909, 15.6277, 54.3612) |
| Luminance | 0.1563 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.20
Mid Blue
#276AB3
ΔE00 2.51
Flat Blue
#3C73A8
ΔE00 3.53
French Blue
#436BAD
ΔE00 3.64
Windows Blue
#3778BF
ΔE00 3.66
Bluish
#2976BB
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6EC4 #C4802A
analogous
#2ABBC4 #2A6EC4 #332AC4
triadic
#2A6EC4 #C42A6E #6EC42A
tetradic
#2A6EC4 #C42ABB #C4802A #2AC433
square
#2A6EC4 #C42ABB #C4802A #2AC433
split-complementary
#2A6EC4 #C4332A #BBC42A
monochromatic
#14355F #1F5292 #2A6EC4 #518EDA #84AFE5
Accessibility & contrast
On white
5.09
#2A6EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#2A6EC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6EC4
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6EC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6EC4 | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4276C7
Deuteranopia (green-blind)
#2368C2
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2a6ec4; /* rgb */ color: rgb(42, 110, 196); /* oklch */ color: oklch(54.1% 0.150 256.1);
Tailwind
colors: {
custom: {
50: '#7b97d6',
500: '#2a6ec4',
950: '#000000',
},
}SCSS
$custom: #2a6ec4; $custom-light: #7b97d6; $custom-dark: #000000;
JSON
{
"hex": "#2a6ec4",
"rgb": {
"r": 42,
"g": 110,
"b": 196
},
"hsl": {
"h": 213.506,
"s": 64.706,
"l": 46.667
},
"oklch": {
"l": 0.54119,
"c": 0.15036,
"h": 256.1
},
"luminance": 0.1563
}Semantic roles & 50–950 ramp
primary
#2A6EC4
secondary
#CEAA7C
accent
#9E40E8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83