#2A7BE6#2A7BE6
#2A7BE6 is a mid, vivid cyan. Relative luminance 0.204; OKLCH L 59.3% C 0.180 H 257.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7BE6 |
|---|---|
| RGB | rgb(42, 123, 230) |
| HSL | hsl(214, 79%, 53%) |
| HSV | hsv(214, 82%, 90%) |
| CMYK | cmyk(81.7%, 46.5%, 0%, 9.8%) |
| CIE-LAB | lab(52.25, 14.27, -60.98) |
| CIE-LCH | lch(52.25, 62.62, 283.17°) |
| OKLab | oklab(59.26% -0.04 -0.1752) |
| OKLCH | oklch(59.26% 0.18 257.1) |
| XYZ | xyz(22.3154, 20.3686, 77.6030) |
| Luminance | 0.2037 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Deep Sky Blue
#0D75F8
ΔE00 2.72
Azure
#007FFF
ΔE00 2.76
Clear Blue
#247AFD
ΔE00 2.77
Dodger Blue
#3E82FC
ΔE00 4.14
Windows Blue
#3778BF
ΔE00 4.18
Lightish Blue
#3D7AFD
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7BE6 #E6952A
analogous
#2AD9E6 #2A7BE6 #372AE6
triadic
#2A7BE6 #E62A7B #7BE62A
tetradic
#2A7BE6 #E62AD9 #E6952A #2AE637
square
#2A7BE6 #E62AD9 #E6952A #2AE637
split-complementary
#2A7BE6 #E6372A #D9E62A
monochromatic
#104386 #165EBD #2A7BE6 #619DEC #98BFF3
Accessibility & contrast
On white
4.14
#2A7BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#2A7BE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7BE6
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7BE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7BE6 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F86EA
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#0095A5
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #2a7be6; /* rgb */ color: rgb(42, 123, 230); /* oklch */ color: oklch(59.3% 0.180 257.1);
Tailwind
colors: {
custom: {
50: '#82a0ee',
500: '#2a7be6',
950: '#000000',
},
}SCSS
$custom: #2a7be6; $custom-light: #82a0ee; $custom-dark: #000000;
JSON
{
"hex": "#2a7be6",
"rgb": {
"r": 42,
"g": 123,
"b": 230
},
"hsl": {
"h": 214.149,
"s": 78.992,
"l": 53.333
},
"oklch": {
"l": 0.59255,
"c": 0.17976,
"h": 257.1
},
"luminance": 0.20371
}Semantic roles & 50–950 ramp
primary
#2A7BE6
secondary
#DEBB8D
accent
#A132F5
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0E16
muted
#7D7E84