#2F78CA#2F78CA
#2F78CA is a mid, vivid cyan. Relative luminance 0.183; OKLCH L 56.9% C 0.146 H 253.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2F78CA |
|---|---|
| RGB | rgb(47, 120, 202) |
| HSL | hsl(212, 62%, 49%) |
| HSV | hsv(212, 77%, 79%) |
| CMYK | cmyk(76.7%, 40.6%, 0%, 20.8%) |
| CIE-LAB | lab(49.86, 6.14, -48.97) |
| CIE-LCH | lch(49.86, 49.35, 277.14°) |
| OKLab | oklab(56.9% -0.0404 -0.1399) |
| OKLCH | oklch(56.9% 0.146 253.9) |
| XYZ | xyz(18.5455, 18.2994, 58.4204) |
| Luminance | 0.1830 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 1.06
Bluish
#2976BB
ΔE00 2.40
Medium Blue
#2C6FBB
ΔE00 3.64
Flat Blue
#3C73A8
ΔE00 4.01
Steel Blue
#4682B4
ΔE00 4.67
Cool Blue
#4984B8
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F78CA #CA812F
analogous
#2FC6CA #2F78CA #342FCA
triadic
#2F78CA #CA2F78 #78CA2F
tetradic
#2F78CA #CA2FC6 #CA812F #2FCA34
square
#2F78CA #CA2FC6 #CA812F #2FCA34
split-complementary
#2F78CA #CA342F #C6CA2F
monochromatic
#183D67 #235B98 #2F78CA #5D97D9 #8FB7E5
Accessibility & contrast
On white
4.51
#2F78CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#2F78CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F78CA
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F78CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F78CA | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#507ECD
Deuteranopia (green-blind)
#3670C8
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2f78ca; /* rgb */ color: rgb(47, 120, 202); /* oklch */ color: oklch(56.9% 0.146 253.9);
Tailwind
colors: {
custom: {
50: '#7d9eda',
500: '#2f78ca',
950: '#000000',
},
}SCSS
$custom: #2f78ca; $custom-light: #7d9eda; $custom-dark: #000000;
JSON
{
"hex": "#2f78ca",
"rgb": {
"r": 47,
"g": 120,
"b": 202
},
"hsl": {
"h": 211.742,
"s": 62.249,
"l": 48.824
},
"oklch": {
"l": 0.56896,
"c": 0.14567,
"h": 253.9
},
"luminance": 0.18302
}Semantic roles & 50–950 ramp
primary
#2F78CA
secondary
#CFAD86
accent
#9942E5
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83