#2F79B9#2F79B9
#2F79B9 is a mid, vivid cyan. Relative luminance 0.178; OKLCH L 56.1% C 0.123 H 248.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2F79B9 |
|---|---|
| RGB | rgb(47, 121, 185) |
| HSL | hsl(208, 59%, 45%) |
| HSV | hsv(208, 75%, 73%) |
| CMYK | cmyk(74.6%, 34.6%, 0%, 27.5%) |
| CIE-LAB | lab(49.23, -0.76, -40.21) |
| CIE-LCH | lch(49.23, 40.22, 268.92°) |
| OKLab | oklab(56.1% -0.0456 -0.1143) |
| OKLCH | oklch(56.1% 0.123 248.2) |
| XYZ | xyz(16.7633, 17.7799, 48.4379) |
| Luminance | 0.1778 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.18
Windows Blue
#3778BF
ΔE00 1.91
Flat Blue
#3C73A8
ΔE00 3.02
Steel Blue
#4682B4
ΔE00 3.77
Medium Blue
#2C6FBB
ΔE00 4.05
Nice Blue
#107AB0
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F79B9 #B96F2F
analogous
#2FB9B4 #2F79B9 #2F34B9
triadic
#2F79B9 #B92F79 #79B92F
tetradic
#2F79B9 #B42FB9 #B96F2F #34B92F
square
#2F79B9 #B42FB9 #B96F2F #34B92F
split-complementary
#2F79B9 #B92F34 #B9B42F
monochromatic
#163957 #235988 #2F79B9 #5297D3 #83B5DF
Accessibility & contrast
On white
4.61
#2F79B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#2F79B9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2F79B9
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F79B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F79B9 | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C7CBC
Deuteranopia (green-blind)
#486FB8
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2f79b9; /* rgb */ color: rgb(47, 121, 185); /* oklch */ color: oklch(56.1% 0.123 248.2);
Tailwind
colors: {
custom: {
50: '#7a9fce',
500: '#2f79b9',
950: '#000000',
},
}SCSS
$custom: #2f79b9; $custom-light: #7a9fce; $custom-dark: #000000;
JSON
{
"hex": "#2f79b9",
"rgb": {
"r": 47,
"g": 121,
"b": 185
},
"hsl": {
"h": 207.826,
"s": 59.483,
"l": 45.49
},
"oklch": {
"l": 0.56103,
"c": 0.12304,
"h": 248.2
},
"luminance": 0.17782
}Semantic roles & 50–950 ramp
primary
#2F79B9
secondary
#C99F7B
accent
#8E45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82