#2F79B4#2F79B4
#2F79B4 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.8% C 0.117 H 246.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2F79B4 |
|---|---|
| RGB | rgb(47, 121, 180) |
| HSL | hsl(207, 59%, 45%) |
| HSV | hsv(207, 74%, 71%) |
| CMYK | cmyk(73.9%, 32.8%, 0%, 29.4%) |
| CIE-LAB | lab(48.97, -2.58, -37.73) |
| CIE-LCH | lch(48.97, 37.82, 266.09°) |
| OKLab | oklab(55.82% -0.0471 -0.107) |
| OKLCH | oklch(55.82% 0.117 246.3) |
| XYZ | xyz(16.2447, 17.5725, 45.7069) |
| Luminance | 0.1757 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.67
Windows Blue
#3778BF
ΔE00 2.67
Flat Blue
#3C73A8
ΔE00 2.98
Nice Blue
#107AB0
ΔE00 3.24
Steel Blue
#4682B4
ΔE00 3.76
Muted Blue
#3B719F
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F79B4 #B46A2F
analogous
#2FB4AD #2F79B4 #2F36B4
triadic
#2F79B4 #B42F79 #79B42F
tetradic
#2F79B4 #AD2FB4 #B46A2F #36B42F
square
#2F79B4 #AD2FB4 #B46A2F #36B42F
split-complementary
#2F79B4 #B42F36 #B4AD2F
monochromatic
#163853 #225883 #2F79B4 #4F97D1 #80B4DE
Accessibility & contrast
On white
4.65
#2F79B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#2F79B4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2F79B4
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F79B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F79B4 | 1.00 | 4.65 | 4.51 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E7BB7
Deuteranopia (green-blind)
#4B6FB3
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2f79b4; /* rgb */ color: rgb(47, 121, 180); /* oklch */ color: oklch(55.8% 0.117 246.3);
Tailwind
colors: {
custom: {
50: '#799fcb',
500: '#2f79b4',
950: '#000000',
},
}SCSS
$custom: #2f79b4; $custom-light: #799fcb; $custom-dark: #000000;
JSON
{
"hex": "#2f79b4",
"rgb": {
"r": 47,
"g": 121,
"b": 180
},
"hsl": {
"h": 206.617,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.5582,
"c": 0.1169,
"h": 246.3
},
"luminance": 0.17574
}Semantic roles & 50–950 ramp
primary
#2F79B4
secondary
#C79B78
accent
#8B46E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82