#2F7997#2F7997
#2F7997 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.3% C 0.086 H 228.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7997 |
|---|---|
| RGB | rgb(47, 121, 151) |
| HSL | hsl(197, 53%, 39%) |
| HSV | hsv(197, 69%, 59%) |
| CMYK | cmyk(68.9%, 19.9%, 0%, 40.8%) |
| CIE-LAB | lab(47.64, -12.83, -22.89) |
| CIE-LCH | lch(47.64, 26.24, 240.73°) |
| OKLab | oklab(54.32% -0.0569 -0.0641) |
| OKLCH | oklch(54.32% 0.086 228.4) |
| XYZ | xyz(13.5933, 16.5120, 31.7429) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Sea Blue
#047495
ΔE00 2.84
Cerulean
#007BA7
ΔE00 3.69
Dirty Blue
#3F829D
ΔE00 3.72
Ocean Blue (survey)
#03719C
ΔE00 4.78
Ocean
#017B92
ΔE00 4.83
Stormy Blue
#507B9C
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7997 #974D2F
analogous
#2F9781 #2F7997 #2F4597
triadic
#2F7997 #972F79 #79972F
tetradic
#2F7997 #812F97 #974D2F #45972F
square
#2F7997 #812F97 #974D2F #45972F
split-complementary
#2F7997 #972F45 #97812F
monochromatic
#122E3A #205468 #2F7997 #409DC3 #6EB5D2
Accessibility & contrast
On white
4.88
#2F7997 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#2F7997 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7997
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7997 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7997 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#697798
Deuteranopia (green-blind)
#5B6C97
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #2f7997; /* rgb */ color: rgb(47, 121, 151); /* oklch */ color: oklch(54.3% 0.086 228.4);
Tailwind
colors: {
custom: {
50: '#749fb5',
500: '#2f7997',
950: '#000000',
},
}SCSS
$custom: #2f7997; $custom-light: #749fb5; $custom-dark: #000000;
JSON
{
"hex": "#2f7997",
"rgb": {
"r": 47,
"g": 121,
"b": 151
},
"hsl": {
"h": 197.308,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.54322,
"c": 0.08573,
"h": 228.4
},
"luminance": 0.16513
}Semantic roles & 50–950 ramp
primary
#2F7997
secondary
#B98068
accent
#754CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80