#2A7DC9#2A7DC9
#2A7DC9 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 57.8% C 0.141 H 250.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7DC9 |
|---|---|
| RGB | rgb(42, 125, 201) |
| HSL | hsl(209, 65%, 48%) |
| HSV | hsv(209, 79%, 79%) |
| CMYK | cmyk(79.1%, 37.8%, 0%, 21.2%) |
| CIE-LAB | lab(51.12, 2.14, -46.39) |
| CIE-LCH | lch(51.12, 46.44, 272.65°) |
| OKLab | oklab(57.83% -0.0477 -0.1323) |
| OKLCH | oklch(57.83% 0.141 250.2) |
| XYZ | xyz(18.8271, 19.3742, 57.9944) |
| Luminance | 0.1938 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.43
Bluish
#2976BB
ΔE00 2.93
Steel Blue
#4682B4
ΔE00 3.32
Cool Blue
#4984B8
ΔE00 3.52
Cerulean (survey)
#0485D1
ΔE00 3.75
Water Blue
#0E87CC
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7DC9 #C9762A
analogous
#2AC9C5 #2A7DC9 #2A2EC9
triadic
#2A7DC9 #C92A7D #7DC92A
tetradic
#2A7DC9 #C52AC9 #C9762A #2EC92A
square
#2A7DC9 #C52AC9 #C9762A #2EC92A
split-complementary
#2A7DC9 #C92A2E #C9C52A
monochromatic
#153E64 #1F5E96 #2A7DC9 #559BDB #87B9E6
Accessibility & contrast
On white
4.31
#2A7DC9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#2A7DC9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7DC9
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7DC9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7DC9 | 1.00 | 4.31 | 4.88 | 4.88 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5982CC
Deuteranopia (green-blind)
#4073C8
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2a7dc9; /* rgb */ color: rgb(42, 125, 201); /* oklch */ color: oklch(57.8% 0.141 250.2);
Tailwind
colors: {
custom: {
50: '#7ca2da',
500: '#2a7dc9',
950: '#000000',
},
}SCSS
$custom: #2a7dc9; $custom-light: #7ca2da; $custom-dark: #000000;
JSON
{
"hex": "#2a7dc9",
"rgb": {
"r": 42,
"g": 125,
"b": 201
},
"hsl": {
"h": 208.679,
"s": 65.432,
"l": 47.647
},
"oklch": {
"l": 0.57829,
"c": 0.14067,
"h": 250.2
},
"luminance": 0.19377
}Semantic roles & 50–950 ramp
primary
#2A7DC9
secondary
#D0A67F
accent
#903FE8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F15
muted
#7C7E83