#2F79B6#2F79B6
#2F79B6 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.9% C 0.119 H 247.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2F79B6 |
|---|---|
| RGB | rgb(47, 121, 182) |
| HSL | hsl(207, 59%, 45%) |
| HSV | hsv(207, 74%, 71%) |
| CMYK | cmyk(74.2%, 33.5%, 0%, 28.6%) |
| CIE-LAB | lab(49.07, -1.85, -38.73) |
| CIE-LCH | lch(49.07, 38.77, 267.26°) |
| OKLab | oklab(55.93% -0.0465 -0.1099) |
| OKLCH | oklch(55.93% 0.119 247.1) |
| XYZ | xyz(16.4499, 17.6546, 46.7876) |
| Luminance | 0.1766 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.42
Windows Blue
#3778BF
ΔE00 2.35
Flat Blue
#3C73A8
ΔE00 2.97
Nice Blue
#107AB0
ΔE00 3.57
Steel Blue
#4682B4
ΔE00 3.75
Muted Blue
#3B719F
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F79B6 #B66C2F
analogous
#2FB6AF #2F79B6 #2F36B6
triadic
#2F79B6 #B62F79 #79B62F
tetradic
#2F79B6 #AF2FB6 #B66C2F #36B62F
square
#2F79B6 #AF2FB6 #B66C2F #36B62F
split-complementary
#2F79B6 #B62F36 #B6AF2F
monochromatic
#163855 #225985 #2F79B6 #5097D2 #81B4DE
Accessibility & contrast
On white
4.63
#2F79B6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#2F79B6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2F79B6
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F79B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F79B6 | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D7CB9
Deuteranopia (green-blind)
#4A6FB5
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2f79b6; /* rgb */ color: rgb(47, 121, 182); /* oklch */ color: oklch(55.9% 0.119 247.1);
Tailwind
colors: {
custom: {
50: '#7a9fcc',
500: '#2f79b6',
950: '#000000',
},
}SCSS
$custom: #2f79b6; $custom-light: #7a9fcc; $custom-dark: #000000;
JSON
{
"hex": "#2f79b6",
"rgb": {
"r": 47,
"g": 121,
"b": 182
},
"hsl": {
"h": 207.111,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.55932,
"c": 0.11934,
"h": 247.1
},
"luminance": 0.17656
}Semantic roles & 50–950 ramp
primary
#2F79B6
secondary
#C79D79
accent
#8C46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82