#2F7894#2F7894
#2F7894 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.9% C 0.083 H 226.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7894 |
|---|---|
| RGB | rgb(47, 120, 148) |
| HSL | hsl(197, 52%, 38%) |
| HSV | hsv(197, 68%, 58%) |
| CMYK | cmyk(68.2%, 18.9%, 0%, 42%) |
| CIE-LAB | lab(47.20, -13.28, -21.80) |
| CIE-LCH | lch(47.20, 25.53, 238.64°) |
| OKLab | oklab(53.93% -0.057 -0.061) |
| OKLCH | oklch(53.93% 0.083 226.9) |
| XYZ | xyz(13.2319, 16.1740, 30.4358) |
| Luminance | 0.1618 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Sea Blue
#047495
ΔE00 2.65
Dirty Blue
#3F829D
ΔE00 4.03
Ocean
#017B92
ΔE00 4.31
Cerulean
#007BA7
ΔE00 4.39
Ocean Blue (survey)
#03719C
ΔE00 5.10
Metallic Blue
#4F738E
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7894 #944B2F
analogous
#2F947D #2F7894 #2F4594
triadic
#2F7894 #942F78 #78942F
tetradic
#2F7894 #7D2F94 #944B2F #45942F
square
#2F7894 #7D2F94 #944B2F #45942F
split-complementary
#2F7894 #942F45 #947D2F
monochromatic
#112D37 #205266 #2F7894 #3E9DC2 #6DB5D1
Accessibility & contrast
On white
4.96
#2F7894 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#2F7894 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7894
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7894 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7894 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#697695
Deuteranopia (green-blind)
#5B6B94
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2f7894; /* rgb */ color: rgb(47, 120, 148); /* oklch */ color: oklch(53.9% 0.083 226.9);
Tailwind
colors: {
custom: {
50: '#749fb3',
500: '#2f7894',
950: '#000000',
},
}SCSS
$custom: #2f7894; $custom-light: #749fb3; $custom-dark: #000000;
JSON
{
"hex": "#2f7894",
"rgb": {
"r": 47,
"g": 120,
"b": 148
},
"hsl": {
"h": 196.634,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.53932,
"c": 0.08348,
"h": 226.9
},
"luminance": 0.16175
}Semantic roles & 50–950 ramp
primary
#2F7894
secondary
#B87D67
accent
#744DDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80