#2F7CC7#2F7CC7
#2F7CC7 is a mid, vivid cyan. Relative luminance 0.191; OKLCH L 57.6% C 0.138 H 251.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7CC7 |
|---|---|
| RGB | rgb(47, 124, 199) |
| HSL | hsl(210, 62%, 48%) |
| HSV | hsv(210, 76%, 78%) |
| CMYK | cmyk(76.4%, 37.7%, 0%, 22%) |
| CIE-LAB | lab(50.85, 2.57, -45.67) |
| CIE-LCH | lch(50.85, 45.75, 273.23°) |
| OKLab | oklab(57.62% -0.0447 -0.1302) |
| OKLCH | oklch(57.62% 0.138 251.1) |
| XYZ | xyz(18.6849, 19.1410, 56.7316) |
| Luminance | 0.1914 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 1.86
Bluish
#2976BB
ΔE00 2.63
Steel Blue
#4682B4
ΔE00 3.41
Cool Blue
#4984B8
ΔE00 3.64
Cerulean (survey)
#0485D1
ΔE00 4.32
Flat Blue
#3C73A8
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7CC7 #C77A2F
analogous
#2FC7C6 #2F7CC7 #2F30C7
triadic
#2F7CC7 #C72F7C #7CC72F
tetradic
#2F7CC7 #C62FC7 #C77A2F #30C72F
square
#2F7CC7 #C62FC7 #C77A2F #30C72F
split-complementary
#2F7CC7 #C72F30 #C7C62F
monochromatic
#183E64 #235D95 #2F7CC7 #5B9AD8 #8CB9E4
Accessibility & contrast
On white
4.35
#2F7CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#2F7CC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7CC7
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7CC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7CC7 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5981CA
Deuteranopia (green-blind)
#4273C6
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2f7cc7; /* rgb */ color: rgb(47, 124, 199); /* oklch */ color: oklch(57.6% 0.138 251.1);
Tailwind
colors: {
custom: {
50: '#7da1d8',
500: '#2f7cc7',
950: '#000000',
},
}SCSS
$custom: #2f7cc7; $custom-light: #7da1d8; $custom-dark: #000000;
JSON
{
"hex": "#2f7cc7",
"rgb": {
"r": 47,
"g": 124,
"b": 199
},
"hsl": {
"h": 209.605,
"s": 61.789,
"l": 48.235
},
"oklch": {
"l": 0.57619,
"c": 0.13766,
"h": 251.1
},
"luminance": 0.19143
}Semantic roles & 50–950 ramp
primary
#2F7CC7
secondary
#CEA884
accent
#9343E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83