#2A7FCA#2A7FCA
#2A7FCA is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.3% C 0.140 H 249.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7FCA |
|---|---|
| RGB | rgb(42, 127, 202) |
| HSL | hsl(208, 66%, 48%) |
| HSV | hsv(208, 79%, 79%) |
| CMYK | cmyk(79.2%, 37.1%, 0%, 20.8%) |
| CIE-LAB | lab(51.76, 1.31, -45.95) |
| CIE-LCH | lch(51.76, 45.97, 271.63°) |
| OKLab | oklab(58.35% -0.0491 -0.131) |
| OKLCH | oklch(58.35% 0.14 249.4) |
| XYZ | xyz(19.2008, 19.9329, 58.7011) |
| Luminance | 0.1993 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean (survey)
#0485D1
ΔE00 3.02
Steel Blue
#4682B4
ΔE00 3.04
Cool Blue
#4984B8
ΔE00 3.13
Windows Blue
#3778BF
ΔE00 3.15
Bluish
#2976BB
ΔE00 3.61
Water Blue
#0E87CC
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7FCA #CA752A
analogous
#2ACAC5 #2A7FCA #2A2FCA
triadic
#2A7FCA #CA2A7F #7FCA2A
tetradic
#2A7FCA #C52ACA #CA752A #2FCA2A
square
#2A7FCA #C52ACA #CA752A #2FCA2A
split-complementary
#2A7FCA #CA2A2F #CAC52A
monochromatic
#153F65 #1F5F97 #2A7FCA #559DDC #88BAE6
Accessibility & contrast
On white
4.21
#2A7FCA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.99
#2A7FCA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7FCA
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7FCA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7FCA | 1.00 | 4.21 | 4.99 | 4.99 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C83CD
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#00919B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #2a7fca; /* rgb */ color: rgb(42, 127, 202); /* oklch */ color: oklch(58.3% 0.140 249.4);
Tailwind
colors: {
custom: {
50: '#7ca3da',
500: '#2a7fca',
950: '#000000',
},
}SCSS
$custom: #2a7fca; $custom-light: #7ca3da; $custom-dark: #000000;
JSON
{
"hex": "#2a7fca",
"rgb": {
"r": 42,
"g": 127,
"b": 202
},
"hsl": {
"h": 208.125,
"s": 65.574,
"l": 47.843
},
"oklch": {
"l": 0.58347,
"c": 0.13992,
"h": 249.4
},
"luminance": 0.19935
}Semantic roles & 50–950 ramp
primary
#2A7FCA
secondary
#D0A580
accent
#8F3FE9
background
#F8FAFD
surface
#EFF3FB
border
#CACDD4
text
#0B0F15
muted
#7C7F83