#2F7FCF#2F7FCF
#2F7FCF is a mid, vivid cyan. Relative luminance 0.203; OKLCH L 58.8% C 0.145 H 251.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7FCF |
|---|---|
| RGB | rgb(47, 127, 207) |
| HSL | hsl(210, 63%, 50%) |
| HSV | hsv(210, 77%, 81%) |
| CMYK | cmyk(77.3%, 38.6%, 0%, 18.8%) |
| CIE-LAB | lab(52.16, 3.71, -48.15) |
| CIE-LCH | lch(52.16, 48.29, 274.40°) |
| OKLab | oklab(58.78% -0.0453 -0.1374) |
| OKLCH | oklch(58.78% 0.145 251.7) |
| XYZ | xyz(20.0199, 20.2857, 61.8798) |
| Luminance | 0.2029 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 3.05
Cool Blue
#4984B8
ΔE00 3.26
Steel Blue
#4682B4
ΔE00 3.39
Cerulean (survey)
#0485D1
ΔE00 3.76
Bluish
#2976BB
ΔE00 3.99
Azure
#007FFF
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7FCF #CF7F2F
analogous
#2FCFCF #2F7FCF #2F2FCF
triadic
#2F7FCF #CF2F7F #7FCF2F
tetradic
#2F7FCF #CF2FCF #CF7F2F #2FCF2F
square
#2F7FCF #CF2FCF #CF7F2F #2FCF2F
split-complementary
#2F7FCF #CF2F2F #CFCF2F
monochromatic
#18426B #24609D #2F7FCF #609EDB #92BCE6
Accessibility & contrast
On white
4.15
#2F7FCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#2F7FCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7FCF
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7FCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7FCF | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5984D2
Deuteranopia (green-blind)
#4076CD
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2f7fcf; /* rgb */ color: rgb(47, 127, 207); /* oklch */ color: oklch(58.8% 0.145 251.7);
Tailwind
colors: {
custom: {
50: '#7ea3de',
500: '#2f7fcf',
950: '#000000',
},
}SCSS
$custom: #2f7fcf; $custom-light: #7ea3de; $custom-dark: #000000;
JSON
{
"hex": "#2f7fcf",
"rgb": {
"r": 47,
"g": 127,
"b": 207
},
"hsl": {
"h": 210,
"s": 62.992,
"l": 49.804
},
"oklch": {
"l": 0.58783,
"c": 0.14469,
"h": 251.7
},
"luminance": 0.20288
}Semantic roles & 50–950 ramp
primary
#2F7FCF
secondary
#D1AD89
accent
#9442E6
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83