#2F79AB#2F79AB
#2F79AB is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.3% C 0.106 H 242.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2F79AB |
|---|---|
| RGB | rgb(47, 121, 171) |
| HSL | hsl(204, 57%, 43%) |
| HSV | hsv(204, 73%, 67%) |
| CMYK | cmyk(72.5%, 29.2%, 0%, 32.9%) |
| CIE-LAB | lab(48.53, -5.83, -33.20) |
| CIE-LCH | lch(48.53, 33.71, 260.04°) |
| OKLab | oklab(55.33% -0.0498 -0.0938) |
| OKLCH | oklch(55.33% 0.106 242) |
| XYZ | xyz(15.3575, 17.2176, 41.0341) |
| Luminance | 0.1722 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.86
Bluish
#2976BB
ΔE00 3.31
Flat Blue
#3C73A8
ΔE00 3.60
Muted Blue
#3B719F
ΔE00 3.63
Dull Blue
#49759C
ΔE00 3.90
Steel Blue
#4682B4
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F79AB #AB612F
analogous
#2FAB9F #2F79AB #2F3BAB
triadic
#2F79AB #AB2F79 #79AB2F
tetradic
#2F79AB #9F2FAB #AB612F #3BAB2F
square
#2F79AB #9F2FAB #AB612F #3BAB2F
split-complementary
#2F79AB #AB2F3B #AB9F2F
monochromatic
#15354B #22577B #2F79AB #4A98CD #7AB4DA
Accessibility & contrast
On white
4.73
#2F79AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#2F79AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F79AB
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F79AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F79AB | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#627AAD
Deuteranopia (green-blind)
#516EAA
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #2f79ab; /* rgb */ color: rgb(47, 121, 171); /* oklch */ color: oklch(55.3% 0.106 242.0);
Tailwind
colors: {
custom: {
50: '#789fc4',
500: '#2f79ab',
950: '#000000',
},
}SCSS
$custom: #2f79ab; $custom-light: #789fc4; $custom-dark: #000000;
JSON
{
"hex": "#2f79ab",
"rgb": {
"r": 47,
"g": 121,
"b": 171
},
"hsl": {
"h": 204.194,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.55327,
"c": 0.10625,
"h": 242
},
"luminance": 0.17219
}Semantic roles & 50–950 ramp
primary
#2F79AB
secondary
#C39373
accent
#8548E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81