#2F78B3#2F78B3
#2F78B3 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.5% C 0.117 H 246.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F78B3 |
|---|---|
| RGB | rgb(47, 120, 179) |
| HSL | hsl(207, 58%, 44%) |
| HSV | hsv(207, 74%, 70%) |
| CMYK | cmyk(73.7%, 33%, 0%, 29.8%) |
| CIE-LAB | lab(48.62, -2.34, -37.70) |
| CIE-LCH | lch(48.62, 37.77, 266.44°) |
| OKLab | oklab(55.53% -0.0464 -0.1069) |
| OKLCH | oklch(55.53% 0.117 246.5) |
| XYZ | xyz(16.0223, 17.2901, 45.1320) |
| Luminance | 0.1729 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.44
Windows Blue
#3778BF
ΔE00 2.60
Flat Blue
#3C73A8
ΔE00 2.64
Nice Blue
#107AB0
ΔE00 3.37
Muted Blue
#3B719F
ΔE00 3.45
Dull Blue
#49759C
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F78B3 #B36A2F
analogous
#2FB3AC #2F78B3 #2F36B3
triadic
#2F78B3 #B32F78 #78B32F
tetradic
#2F78B3 #AC2FB3 #B36A2F #36B32F
square
#2F78B3 #AC2FB3 #B36A2F #36B32F
split-complementary
#2F78B3 #B32F36 #B3AC2F
monochromatic
#163752 #225883 #2F78B3 #4F97D1 #7FB3DD
Accessibility & contrast
On white
4.71
#2F78B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#2F78B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F78B3
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F78B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F78B3 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D7AB6
Deuteranopia (green-blind)
#4A6EB2
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #2f78b3; /* rgb */ color: rgb(47, 120, 179); /* oklch */ color: oklch(55.5% 0.117 246.5);
Tailwind
colors: {
custom: {
50: '#799eca',
500: '#2f78b3',
950: '#000000',
},
}SCSS
$custom: #2f78b3; $custom-light: #799eca; $custom-dark: #000000;
JSON
{
"hex": "#2f78b3",
"rgb": {
"r": 47,
"g": 120,
"b": 179
},
"hsl": {
"h": 206.818,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.55528,
"c": 0.11658,
"h": 246.5
},
"luminance": 0.17292
}Semantic roles & 50–950 ramp
primary
#2F78B3
secondary
#C69B78
accent
#8C46E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82