#2F7ECA#2F7ECA
#2F7ECA is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.3% C 0.139 H 250.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7ECA |
|---|---|
| RGB | rgb(47, 126, 202) |
| HSL | hsl(209, 62%, 49%) |
| HSV | hsv(209, 77%, 79%) |
| CMYK | cmyk(76.7%, 37.6%, 0%, 20.8%) |
| CIE-LAB | lab(51.60, 2.47, -46.20) |
| CIE-LCH | lch(51.60, 46.27, 273.06°) |
| OKLab | oklab(58.26% -0.0457 -0.1317) |
| OKLCH | oklch(58.26% 0.139 250.9) |
| XYZ | xyz(19.2898, 19.7880, 58.6685) |
| Luminance | 0.1979 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.60
Steel Blue
#4682B4
ΔE00 3.17
Cool Blue
#4984B8
ΔE00 3.23
Bluish
#2976BB
ΔE00 3.37
Cerulean (survey)
#0485D1
ΔE00 3.73
Water Blue
#0E87CC
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7ECA #CA7B2F
analogous
#2FCAC9 #2F7ECA #2F31CA
triadic
#2F7ECA #CA2F7E #7ECA2F
tetradic
#2F7ECA #C92FCA #CA7B2F #31CA2F
square
#2F7ECA #C92FCA #CA7B2F #31CA2F
split-complementary
#2F7ECA #CA2F31 #CAC92F
monochromatic
#184067 #235F98 #2F7ECA #5D9CD9 #8FBBE5
Accessibility & contrast
On white
4.24
#2F7ECA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#2F7ECA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7ECA
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7ECA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7ECA | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A83CD
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #2f7eca; /* rgb */ color: rgb(47, 126, 202); /* oklch */ color: oklch(58.3% 0.139 250.9);
Tailwind
colors: {
custom: {
50: '#7da2da',
500: '#2f7eca',
950: '#000000',
},
}SCSS
$custom: #2f7eca; $custom-light: #7da2da; $custom-dark: #000000;
JSON
{
"hex": "#2f7eca",
"rgb": {
"r": 47,
"g": 126,
"b": 202
},
"hsl": {
"h": 209.419,
"s": 62.249,
"l": 48.824
},
"oklch": {
"l": 0.58255,
"c": 0.13942,
"h": 250.9
},
"luminance": 0.1979
}Semantic roles & 50–950 ramp
primary
#2F7ECA
secondary
#CFAA86
accent
#9242E5
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0F15
muted
#7C7E83