#2F78C8#2F78C8
#2F78C8 is a mid, vivid cyan. Relative luminance 0.182; OKLCH L 56.8% C 0.143 H 253.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2F78C8 |
|---|---|
| RGB | rgb(47, 120, 200) |
| HSL | hsl(211, 62%, 48%) |
| HSV | hsv(211, 77%, 78%) |
| CMYK | cmyk(76.5%, 40%, 0%, 21.6%) |
| CIE-LAB | lab(49.74, 5.39, -48.01) |
| CIE-LCH | lch(49.74, 48.31, 276.41°) |
| OKLab | oklab(56.77% -0.0409 -0.1371) |
| OKLCH | oklch(56.77% 0.143 253.4) |
| XYZ | xyz(18.3102, 18.2053, 57.1813) |
| Luminance | 0.1821 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 0.87
Bluish
#2976BB
ΔE00 2.15
Medium Blue
#2C6FBB
ΔE00 3.55
Flat Blue
#3C73A8
ΔE00 3.82
Steel Blue
#4682B4
ΔE00 4.58
Cool Blue
#4984B8
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F78C8 #C87F2F
analogous
#2FC4C8 #2F78C8 #332FC8
triadic
#2F78C8 #C82F78 #78C82F
tetradic
#2F78C8 #C82FC4 #C87F2F #2FC833
square
#2F78C8 #C82FC4 #C87F2F #2FC833
split-complementary
#2F78C8 #C8332F #C4C82F
monochromatic
#183D65 #235A96 #2F78C8 #5C97D9 #8DB7E4
Accessibility & contrast
On white
4.52
#2F78C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#2F78C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F78C8
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F78C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F78C8 | 1.00 | 4.52 | 4.64 | 4.64 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#527ECB
Deuteranopia (green-blind)
#3970C6
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2f78c8; /* rgb */ color: rgb(47, 120, 200); /* oklch */ color: oklch(56.8% 0.143 253.4);
Tailwind
colors: {
custom: {
50: '#7d9ed9',
500: '#2f78c8',
950: '#000000',
},
}SCSS
$custom: #2f78c8; $custom-light: #7d9ed9; $custom-dark: #000000;
JSON
{
"hex": "#2f78c8",
"rgb": {
"r": 47,
"g": 120,
"b": 200
},
"hsl": {
"h": 211.373,
"s": 61.943,
"l": 48.431
},
"oklch": {
"l": 0.56771,
"c": 0.14309,
"h": 253.4
},
"luminance": 0.18207
}Semantic roles & 50–950 ramp
primary
#2F78C8
secondary
#CFAB84
accent
#9843E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83