#2F7DC8#2F7DC8
#2F7DC8 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 57.9% C 0.138 H 250.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7DC8 |
|---|---|
| RGB | rgb(47, 125, 200) |
| HSL | hsl(209, 62%, 48%) |
| HSV | hsv(209, 77%, 78%) |
| CMYK | cmyk(76.5%, 37.5%, 0%, 21.6%) |
| CIE-LAB | lab(51.20, 2.34, -45.70) |
| CIE-LCH | lch(51.20, 45.75, 272.93°) |
| OKLab | oklab(57.91% -0.0453 -0.1303) |
| OKLCH | oklch(57.91% 0.138 250.8) |
| XYZ | xyz(18.9273, 19.4395, 57.3870) |
| Luminance | 0.1944 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.22
Bluish
#2976BB
ΔE00 2.96
Steel Blue
#4682B4
ΔE00 3.23
Cool Blue
#4984B8
ΔE00 3.40
Cerulean (survey)
#0485D1
ΔE00 3.99
Flat Blue
#3C73A8
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7DC8 #C87A2F
analogous
#2FC8C6 #2F7DC8 #2F30C8
triadic
#2F7DC8 #C82F7D #7DC82F
tetradic
#2F7DC8 #C62FC8 #C87A2F #30C82F
square
#2F7DC8 #C62FC8 #C87A2F #30C82F
split-complementary
#2F7DC8 #C82F30 #C8C62F
monochromatic
#183F65 #235E96 #2F7DC8 #5C9BD9 #8DBAE4
Accessibility & contrast
On white
4.30
#2F7DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#2F7DC8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7DC8
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7DC8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7DC8 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A82CB
Deuteranopia (green-blind)
#4274C7
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2f7dc8; /* rgb */ color: rgb(47, 125, 200); /* oklch */ color: oklch(57.9% 0.138 250.8);
Tailwind
colors: {
custom: {
50: '#7da2d9',
500: '#2f7dc8',
950: '#000000',
},
}SCSS
$custom: #2f7dc8; $custom-light: #7da2d9; $custom-dark: #000000;
JSON
{
"hex": "#2f7dc8",
"rgb": {
"r": 47,
"g": 125,
"b": 200
},
"hsl": {
"h": 209.412,
"s": 61.943,
"l": 48.431
},
"oklch": {
"l": 0.57907,
"c": 0.13791,
"h": 250.8
},
"luminance": 0.19442
}Semantic roles & 50–950 ramp
primary
#2F7DC8
secondary
#CFA984
accent
#9243E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83