#2F78B8#2F78B8
#2F78B8 is a mid, vivid cyan. Relative luminance 0.175; OKLCH L 55.8% C 0.123 H 248.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2F78B8 |
|---|---|
| RGB | rgb(47, 120, 184) |
| HSL | hsl(208, 59%, 45%) |
| HSV | hsv(208, 74%, 72%) |
| CMYK | cmyk(74.5%, 34.8%, 0%, 27.8%) |
| CIE-LAB | lab(48.88, -0.52, -40.19) |
| CIE-LCH | lch(48.88, 40.19, 269.26°) |
| OKLab | oklab(55.81% -0.045 -0.1142) |
| OKLCH | oklch(55.81% 0.123 248.5) |
| XYZ | xyz(16.5372, 17.4961, 47.8436) |
| Luminance | 0.1750 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 0.85
Windows Blue
#3778BF
ΔE00 1.83
Flat Blue
#3C73A8
ΔE00 2.69
Medium Blue
#2C6FBB
ΔE00 3.68
Muted Blue
#3B719F
ΔE00 3.80
Steel Blue
#4682B4
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F78B8 #B86F2F
analogous
#2FB8B3 #2F78B8 #2F34B8
triadic
#2F78B8 #B82F78 #78B82F
tetradic
#2F78B8 #B32FB8 #B86F2F #34B82F
square
#2F78B8 #B32FB8 #B86F2F #34B82F
split-complementary
#2F78B8 #B82F34 #B8B32F
monochromatic
#163857 #235887 #2F78B8 #5296D3 #82B4DF
Accessibility & contrast
On white
4.67
#2F78B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#2F78B8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2F78B8
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F78B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F78B8 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B7BBB
Deuteranopia (green-blind)
#476EB7
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2f78b8; /* rgb */ color: rgb(47, 120, 184); /* oklch */ color: oklch(55.8% 0.123 248.5);
Tailwind
colors: {
custom: {
50: '#7a9ecd',
500: '#2f78b8',
950: '#000000',
},
}SCSS
$custom: #2f78b8; $custom-light: #7a9ecd; $custom-dark: #000000;
JSON
{
"hex": "#2f78b8",
"rgb": {
"r": 47,
"g": 120,
"b": 184
},
"hsl": {
"h": 208.029,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.55812,
"c": 0.12274,
"h": 248.5
},
"luminance": 0.17498
}Semantic roles & 50–950 ramp
primary
#2F78B8
secondary
#C89F7B
accent
#8F45E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82