#2F7FA9#2F7FA9
#2F7FA9 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.7% C 0.100 H 235.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7FA9 |
|---|---|
| RGB | rgb(47, 127, 169) |
| HSL | hsl(201, 56%, 42%) |
| HSV | hsv(201, 72%, 66%) |
| CMYK | cmyk(72.2%, 24.9%, 0%, 33.7%) |
| CIE-LAB | lab(50.27, -10.03, -29.32) |
| CIE-LCH | lch(50.27, 30.99, 251.12°) |
| OKLab | oklab(56.68% -0.0566 -0.0825) |
| OKLCH | oklch(56.68% 0.1 235.6) |
| XYZ | xyz(15.9203, 18.6459, 40.2884) |
| Luminance | 0.1865 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean
#007BA7
ΔE00 2.65
Nice Blue
#107AB0
ΔE00 3.13
Steel Blue
#4682B4
ΔE00 4.58
Dirty Blue
#3F829D
ΔE00 4.60
Stormy Blue
#507B9C
ΔE00 4.63
Cool Blue
#4984B8
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7FA9 #A9592F
analogous
#2FA996 #2F7FA9 #2F42A9
triadic
#2F7FA9 #A92F7F #7FA92F
tetradic
#2F7FA9 #962FA9 #A9592F #42A92F
square
#2F7FA9 #962FA9 #A9592F #42A92F
split-complementary
#2F7FA9 #A92F42 #A9962F
monochromatic
#143749 #225B79 #2F7FA9 #499FCC #79B8DA
Accessibility & contrast
On white
4.44
#2F7FA9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#2F7FA9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7FA9
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7FA9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7FA9 | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B7EAB
Deuteranopia (green-blind)
#5A72A8
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2f7fa9; /* rgb */ color: rgb(47, 127, 169); /* oklch */ color: oklch(56.7% 0.100 235.6);
Tailwind
colors: {
custom: {
50: '#77a4c2',
500: '#2f7fa9',
950: '#000000',
},
}SCSS
$custom: #2f7fa9; $custom-light: #77a4c2; $custom-dark: #000000;
JSON
{
"hex": "#2f7fa9",
"rgb": {
"r": 47,
"g": 127,
"b": 169
},
"hsl": {
"h": 200.656,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.56675,
"c": 0.10008,
"h": 235.6
},
"luminance": 0.18648
}Semantic roles & 50–950 ramp
primary
#2F7FA9
secondary
#C28D72
accent
#7C48E0
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81