#2F78CC#2F78CC
#2F78CC is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 57.0% C 0.148 H 254.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F78CC |
|---|---|
| RGB | rgb(47, 120, 204) |
| HSL | hsl(212, 63%, 49%) |
| HSV | hsv(212, 77%, 80%) |
| CMYK | cmyk(77%, 41.2%, 0%, 20%) |
| CIE-LAB | lab(49.97, 6.88, -49.93) |
| CIE-LCH | lch(49.97, 50.40, 277.85°) |
| OKLab | oklab(57.02% -0.04 -0.1428) |
| OKLCH | oklch(57.02% 0.148 254.4) |
| XYZ | xyz(18.7838, 18.3947, 59.6756) |
| Luminance | 0.1840 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 1.27
Bluish
#2976BB
ΔE00 2.65
Medium Blue
#2C6FBB
ΔE00 3.75
Flat Blue
#3C73A8
ΔE00 4.19
Deep Sky Blue
#0D75F8
ΔE00 4.74
Steel Blue
#4682B4
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F78CC #CC832F
analogous
#2FC7CC #2F78CC #352FCC
triadic
#2F78CC #CC2F78 #78CC2F
tetradic
#2F78CC #CC2FC7 #CC832F #2FCC35
square
#2F78CC #CC2FC7 #CC832F #2FCC35
split-complementary
#2F78CC #CC352F #C7CC2F
monochromatic
#183D69 #245B9A #2F78CC #5E98DA #90B8E5
Accessibility & contrast
On white
4.49
#2F78CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#2F78CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F78CC
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F78CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F78CC | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F7FCF
Deuteranopia (green-blind)
#3470CA
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2f78cc; /* rgb */ color: rgb(47, 120, 204); /* oklch */ color: oklch(57.0% 0.148 254.4);
Tailwind
colors: {
custom: {
50: '#7e9edc',
500: '#2f78cc',
950: '#000000',
},
}SCSS
$custom: #2f78cc; $custom-light: #7e9edc; $custom-dark: #000000;
JSON
{
"hex": "#2f78cc",
"rgb": {
"r": 47,
"g": 120,
"b": 204
},
"hsl": {
"h": 212.102,
"s": 62.55,
"l": 49.216
},
"oklch": {
"l": 0.57022,
"c": 0.14826,
"h": 254.4
},
"luminance": 0.18397
}Semantic roles & 50–950 ramp
primary
#2F78CC
secondary
#D0AE87
accent
#9A42E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0E15
muted
#7C7E83