#2F79B5#2F79B5
#2F79B5 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.9% C 0.118 H 246.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2F79B5 |
|---|---|
| RGB | rgb(47, 121, 181) |
| HSL | hsl(207, 59%, 45%) |
| HSV | hsv(207, 74%, 71%) |
| CMYK | cmyk(74%, 33.1%, 0%, 29%) |
| CIE-LAB | lab(49.02, -2.22, -38.23) |
| CIE-LCH | lch(49.02, 38.29, 266.68°) |
| OKLab | oklab(55.88% -0.0468 -0.1085) |
| OKLCH | oklch(55.88% 0.118 246.7) |
| XYZ | xyz(16.3470, 17.6134, 46.2453) |
| Luminance | 0.1762 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.54
Windows Blue
#3778BF
ΔE00 2.51
Flat Blue
#3C73A8
ΔE00 2.97
Nice Blue
#107AB0
ΔE00 3.40
Steel Blue
#4682B4
ΔE00 3.75
Muted Blue
#3B719F
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F79B5 #B56B2F
analogous
#2FB5AE #2F79B5 #2F36B5
triadic
#2F79B5 #B52F79 #79B52F
tetradic
#2F79B5 #AE2FB5 #B56B2F #36B52F
square
#2F79B5 #AE2FB5 #B56B2F #36B52F
split-complementary
#2F79B5 #B52F36 #B5AE2F
monochromatic
#163854 #225984 #2F79B5 #5097D1 #80B4DE
Accessibility & contrast
On white
4.64
#2F79B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#2F79B5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2F79B5
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F79B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F79B5 | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E7BB8
Deuteranopia (green-blind)
#4B6FB4
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2f79b5; /* rgb */ color: rgb(47, 121, 181); /* oklch */ color: oklch(55.9% 0.118 246.7);
Tailwind
colors: {
custom: {
50: '#799fcb',
500: '#2f79b5',
950: '#000000',
},
}SCSS
$custom: #2f79b5; $custom-light: #799fcb; $custom-dark: #000000;
JSON
{
"hex": "#2f79b5",
"rgb": {
"r": 47,
"g": 121,
"b": 181
},
"hsl": {
"h": 206.866,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.55876,
"c": 0.11812,
"h": 246.7
},
"luminance": 0.17615
}Semantic roles & 50–950 ramp
primary
#2F79B5
secondary
#C79C79
accent
#8C46E2
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82