#2F78C5#2F78C5
#2F78C5 is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.6% C 0.139 H 252.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2F78C5 |
|---|---|
| RGB | rgb(47, 120, 197) |
| HSL | hsl(211, 61%, 48%) |
| HSV | hsv(211, 76%, 77%) |
| CMYK | cmyk(76.1%, 39.1%, 0%, 22.7%) |
| CIE-LAB | lab(49.58, 4.28, -46.56) |
| CIE-LCH | lch(49.58, 46.75, 275.25°) |
| OKLab | oklab(56.59% -0.0416 -0.1329) |
| OKLCH | oklch(56.59% 0.139 252.6) |
| XYZ | xyz(17.9630, 18.0664, 55.3529) |
| Luminance | 0.1807 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 0.69
Bluish
#2976BB
ΔE00 1.78
Medium Blue
#2C6FBB
ΔE00 3.45
Flat Blue
#3C73A8
ΔE00 3.55
Steel Blue
#4682B4
ΔE00 4.45
Cool Blue
#4984B8
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F78C5 #C57C2F
analogous
#2FC3C5 #2F78C5 #312FC5
triadic
#2F78C5 #C52F78 #78C52F
tetradic
#2F78C5 #C52FC3 #C57C2F #2FC531
square
#2F78C5 #C52FC3 #C57C2F #2FC531
split-complementary
#2F78C5 #C5312F #C3C52F
monochromatic
#173C62 #235A94 #2F78C5 #5A97D8 #8BB6E3
Accessibility & contrast
On white
4.55
#2F78C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#2F78C5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F78C5
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F78C5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F78C5 | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#547DC8
Deuteranopia (green-blind)
#3C70C3
Tritanopia (blue-blind)
#008A95
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2f78c5; /* rgb */ color: rgb(47, 120, 197); /* oklch */ color: oklch(56.6% 0.139 252.6);
Tailwind
colors: {
custom: {
50: '#7c9ed7',
500: '#2f78c5',
950: '#000000',
},
}SCSS
$custom: #2f78c5; $custom-light: #7c9ed7; $custom-dark: #000000;
JSON
{
"hex": "#2f78c5",
"rgb": {
"r": 47,
"g": 120,
"b": 197
},
"hsl": {
"h": 210.8,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.56586,
"c": 0.13923,
"h": 252.6
},
"luminance": 0.18068
}Semantic roles & 50–950 ramp
primary
#2F78C5
secondary
#CDA982
accent
#9643E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83