#2F78B7#2F78B7
#2F78B7 is a mid, vivid cyan. Relative luminance 0.175; OKLCH L 55.8% C 0.121 H 248.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F78B7 |
|---|---|
| RGB | rgb(47, 120, 183) |
| HSL | hsl(208, 59%, 45%) |
| HSV | hsv(208, 74%, 72%) |
| CMYK | cmyk(74.3%, 34.4%, 0%, 28.2%) |
| CIE-LAB | lab(48.83, -0.88, -39.69) |
| CIE-LCH | lch(48.83, 39.70, 268.72°) |
| OKLab | oklab(55.76% -0.0452 -0.1128) |
| OKLCH | oklch(55.76% 0.122 248.1) |
| XYZ | xyz(16.4328, 17.4543, 47.2935) |
| Luminance | 0.1746 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 0.93
Windows Blue
#3778BF
ΔE00 1.97
Flat Blue
#3C73A8
ΔE00 2.66
Muted Blue
#3B719F
ΔE00 3.72
Medium Blue
#2C6FBB
ΔE00 3.75
Nice Blue
#107AB0
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F78B7 #B76E2F
analogous
#2FB7B2 #2F78B7 #2F34B7
triadic
#2F78B7 #B72F78 #78B72F
tetradic
#2F78B7 #B22FB7 #B76E2F #34B72F
square
#2F78B7 #B22FB7 #B76E2F #34B72F
split-complementary
#2F78B7 #B72F34 #B7B22F
monochromatic
#163856 #225886 #2F78B7 #5196D2 #82B4DF
Accessibility & contrast
On white
4.68
#2F78B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#2F78B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F78B7
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F78B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F78B7 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B7BBA
Deuteranopia (green-blind)
#486EB6
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2f78b7; /* rgb */ color: rgb(47, 120, 183); /* oklch */ color: oklch(55.8% 0.121 248.1);
Tailwind
colors: {
custom: {
50: '#7a9ecd',
500: '#2f78b7',
950: '#000000',
},
}SCSS
$custom: #2f78b7; $custom-light: #7a9ecd; $custom-dark: #000000;
JSON
{
"hex": "#2f78b7",
"rgb": {
"r": 47,
"g": 120,
"b": 183
},
"hsl": {
"h": 207.794,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.55755,
"c": 0.1215,
"h": 248.1
},
"luminance": 0.17456
}Semantic roles & 50–950 ramp
primary
#2F78B7
secondary
#C89E7A
accent
#8E45E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82