#2F7EC9#2F7EC9
#2F7EC9 is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.2% C 0.138 H 250.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7EC9 |
|---|---|
| RGB | rgb(47, 126, 201) |
| HSL | hsl(209, 62%, 49%) |
| HSV | hsv(209, 77%, 79%) |
| CMYK | cmyk(76.6%, 37.3%, 0%, 21.2%) |
| CIE-LAB | lab(51.54, 2.10, -45.72) |
| CIE-LCH | lch(51.54, 45.76, 272.63°) |
| OKLab | oklab(58.19% -0.0459 -0.1303) |
| OKLCH | oklch(58.19% 0.138 250.6) |
| XYZ | xyz(19.1718, 19.7408, 58.0470) |
| Luminance | 0.1974 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.59
Steel Blue
#4682B4
ΔE00 3.10
Cool Blue
#4984B8
ΔE00 3.19
Bluish
#2976BB
ΔE00 3.31
Cerulean (survey)
#0485D1
ΔE00 3.66
Water Blue
#0E87CC
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7EC9 #C97A2F
analogous
#2FC9C7 #2F7EC9 #2F31C9
triadic
#2F7EC9 #C92F7E #7EC92F
tetradic
#2F7EC9 #C72FC9 #C97A2F #31C92F
square
#2F7EC9 #C72FC9 #C97A2F #31C92F
split-complementary
#2F7EC9 #C92F31 #C9C72F
monochromatic
#184066 #235F97 #2F7EC9 #5C9CD9 #8EBAE5
Accessibility & contrast
On white
4.24
#2F7EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#2F7EC9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7EC9
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7EC9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7EC9 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B83CC
Deuteranopia (green-blind)
#4374C8
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #2f7ec9; /* rgb */ color: rgb(47, 126, 201); /* oklch */ color: oklch(58.2% 0.138 250.6);
Tailwind
colors: {
custom: {
50: '#7da2da',
500: '#2f7ec9',
950: '#000000',
},
}SCSS
$custom: #2f7ec9; $custom-light: #7da2da; $custom-dark: #000000;
JSON
{
"hex": "#2f7ec9",
"rgb": {
"r": 47,
"g": 126,
"b": 201
},
"hsl": {
"h": 209.221,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.58195,
"c": 0.13816,
"h": 250.6
},
"luminance": 0.19743
}Semantic roles & 50–950 ramp
primary
#2F7EC9
secondary
#CFA985
accent
#9243E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F15
muted
#7C7E83