#2F7CA9#2F7CA9
#2F7CA9 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.9% C 0.102 H 238.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7CA9 |
|---|---|
| RGB | rgb(47, 124, 169) |
| HSL | hsl(202, 56%, 42%) |
| HSV | hsv(202, 72%, 66%) |
| CMYK | cmyk(72.2%, 26.6%, 0%, 33.7%) |
| CIE-LAB | lab(49.35, -8.30, -30.75) |
| CIE-LCH | lch(49.35, 31.85, 254.90°) |
| OKLab | oklab(55.95% -0.0535 -0.0867) |
| OKLCH | oklch(55.95% 0.102 238.3) |
| XYZ | xyz(15.5386, 17.8825, 40.1612) |
| Luminance | 0.1788 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.94
Cerulean
#007BA7
ΔE00 2.89
Steel Blue
#4682B4
ΔE00 4.22
Stormy Blue
#507B9C
ΔE00 4.25
Dull Blue
#49759C
ΔE00 4.80
Ocean Blue (survey)
#03719C
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7CA9 #A95C2F
analogous
#2FA999 #2F7CA9 #2F3FA9
triadic
#2F7CA9 #A92F7C #7CA92F
tetradic
#2F7CA9 #992FA9 #A95C2F #3FA92F
square
#2F7CA9 #992FA9 #A95C2F #3FA92F
split-complementary
#2F7CA9 #A92F3F #A9992F
monochromatic
#143649 #225979 #2F7CA9 #499CCC #79B6DA
Accessibility & contrast
On white
4.59
#2F7CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#2F7CA9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7CA9
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7CA9 | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#677CAB
Deuteranopia (green-blind)
#5670A8
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2f7ca9; /* rgb */ color: rgb(47, 124, 169); /* oklch */ color: oklch(55.9% 0.102 238.3);
Tailwind
colors: {
custom: {
50: '#77a1c2',
500: '#2f7ca9',
950: '#000000',
},
}SCSS
$custom: #2f7ca9; $custom-light: #77a1c2; $custom-dark: #000000;
JSON
{
"hex": "#2f7ca9",
"rgb": {
"r": 47,
"g": 124,
"b": 169
},
"hsl": {
"h": 202.131,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.55947,
"c": 0.1019,
"h": 238.3
},
"luminance": 0.17884
}Semantic roles & 50–950 ramp
primary
#2F7CA9
secondary
#C28F72
accent
#8048E0
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81