#2F7BC8#2F7BC8
#2F7BC8 is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.5% C 0.140 H 251.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7BC8 |
|---|---|
| RGB | rgb(47, 123, 200) |
| HSL | hsl(210, 62%, 48%) |
| HSV | hsv(210, 77%, 78%) |
| CMYK | cmyk(76.5%, 38.5%, 0%, 21.6%) |
| CIE-LAB | lab(50.61, 3.55, -46.62) |
| CIE-LCH | lch(50.61, 46.76, 274.36°) |
| OKLab | oklab(57.45% -0.0435 -0.133) |
| OKLCH | oklch(57.45% 0.14 251.9) |
| XYZ | xyz(18.6767, 18.9382, 57.3035) |
| Luminance | 0.1894 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 1.52
Bluish
#2976BB
ΔE00 2.48
Steel Blue
#4682B4
ΔE00 3.72
Cool Blue
#4984B8
ΔE00 3.95
Flat Blue
#3C73A8
ΔE00 4.42
Medium Blue
#2C6FBB
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7BC8 #C87C2F
analogous
#2FC7C8 #2F7BC8 #2F2FC8
triadic
#2F7BC8 #C82F7B #7BC82F
tetradic
#2F7BC8 #C82FC7 #C87C2F #2FC82F
square
#2F7BC8 #C82FC7 #C87C2F #2FC82F
split-complementary
#2F7BC8 #C82F2F #C7C82F
monochromatic
#183E65 #235D96 #2F7BC8 #5C9AD9 #8DB8E4
Accessibility & contrast
On white
4.39
#2F7BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#2F7BC8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7BC8
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7BC8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7BC8 | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5780CB
Deuteranopia (green-blind)
#3F72C6
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2f7bc8; /* rgb */ color: rgb(47, 123, 200); /* oklch */ color: oklch(57.5% 0.140 251.9);
Tailwind
colors: {
custom: {
50: '#7da0d9',
500: '#2f7bc8',
950: '#000000',
},
}SCSS
$custom: #2f7bc8; $custom-light: #7da0d9; $custom-dark: #000000;
JSON
{
"hex": "#2f7bc8",
"rgb": {
"r": 47,
"g": 123,
"b": 200
},
"hsl": {
"h": 210.196,
"s": 61.943,
"l": 48.431
},
"oklch": {
"l": 0.57451,
"c": 0.13994,
"h": 251.9
},
"luminance": 0.1894
}Semantic roles & 50–950 ramp
primary
#2F7BC8
secondary
#CFAA84
accent
#9443E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83