#2F7798#2F7798
#2F7798 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.9% C 0.087 H 231.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7798 |
|---|---|
| RGB | rgb(47, 119, 152) |
| HSL | hsl(199, 53%, 39%) |
| HSV | hsv(199, 69%, 60%) |
| CMYK | cmyk(69.1%, 21.7%, 0%, 40.4%) |
| CIE-LAB | lab(47.06, -11.35, -24.38) |
| CIE-LCH | lch(47.06, 26.89, 245.04°) |
| OKLab | oklab(53.87% -0.0544 -0.0684) |
| OKLCH | oklch(53.87% 0.087 231.5) |
| XYZ | xyz(13.4344, 16.0635, 32.0922) |
| Luminance | 0.1606 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Sea Blue
#047495
ΔE00 2.87
Cerulean
#007BA7
ΔE00 3.07
Ocean Blue (survey)
#03719C
ΔE00 3.56
Dirty Blue
#3F829D
ΔE00 4.70
Nice Blue
#107AB0
ΔE00 5.04
Metallic Blue
#4F738E
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7798 #98502F
analogous
#2F9885 #2F7798 #2F4398
triadic
#2F7798 #982F77 #77982F
tetradic
#2F7798 #852F98 #98502F #43982F
square
#2F7798 #852F98 #98502F #43982F
split-complementary
#2F7798 #982F43 #98852F
monochromatic
#122E3B #215269 #2F7798 #409BC4 #6FB3D2
Accessibility & contrast
On white
4.98
#2F7798 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#2F7798 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7798
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7798 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7798 | 1.00 | 4.98 | 4.21 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#66759A
Deuteranopia (green-blind)
#586B98
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2f7798; /* rgb */ color: rgb(47, 119, 152); /* oklch */ color: oklch(53.9% 0.087 231.5);
Tailwind
colors: {
custom: {
50: '#749eb6',
500: '#2f7798',
950: '#000000',
},
}SCSS
$custom: #2f7798; $custom-light: #749eb6; $custom-dark: #000000;
JSON
{
"hex": "#2f7798",
"rgb": {
"r": 47,
"g": 119,
"b": 152
},
"hsl": {
"h": 198.857,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.53872,
"c": 0.08738,
"h": 231.5
},
"luminance": 0.16065
}Semantic roles & 50–950 ramp
primary
#2F7798
secondary
#BA8269
accent
#794CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80