#2F7398#2F7398
#2F7398 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 52.9% C 0.089 H 235.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7398 |
|---|---|
| RGB | rgb(47, 115, 152) |
| HSL | hsl(201, 53%, 39%) |
| HSV | hsv(201, 69%, 60%) |
| CMYK | cmyk(69.1%, 24.3%, 0%, 40.4%) |
| CIE-LAB | lab(45.81, -9.03, -26.31) |
| CIE-LCH | lch(45.81, 27.82, 251.05°) |
| OKLab | oklab(52.88% -0.0501 -0.0739) |
| OKLCH | oklch(52.88% 0.089 235.9) |
| XYZ | xyz(12.9683, 15.1314, 31.9369) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ocean Blue (survey)
#03719C
ΔE00 2.32
Cerulean
#007BA7
ΔE00 3.71
Sea Blue
#047495
ΔE00 3.97
Muted Blue
#3B719F
ΔE00 4.16
Nice Blue
#107AB0
ΔE00 4.28
Dull Blue
#49759C
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7398 #98542F
analogous
#2F9889 #2F7398 #2F3F98
triadic
#2F7398 #982F73 #73982F
tetradic
#2F7398 #892F98 #98542F #3F982F
square
#2F7398 #892F98 #98542F #3F982F
split-complementary
#2F7398 #982F3F #98892F
monochromatic
#122C3B #215069 #2F7398 #4096C4 #6FAFD2
Accessibility & contrast
On white
5.22
#2F7398 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#2F7398 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7398
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7398 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7398 | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61729A
Deuteranopia (green-blind)
#536897
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2f7398; /* rgb */ color: rgb(47, 115, 152); /* oklch */ color: oklch(52.9% 0.089 235.9);
Tailwind
colors: {
custom: {
50: '#749bb6',
500: '#2f7398',
950: '#000000',
},
}SCSS
$custom: #2f7398; $custom-light: #749bb6; $custom-dark: #000000;
JSON
{
"hex": "#2f7398",
"rgb": {
"r": 47,
"g": 115,
"b": 152
},
"hsl": {
"h": 201.143,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.52882,
"c": 0.08933,
"h": 235.9
},
"luminance": 0.15133
}Semantic roles & 50–950 ramp
primary
#2F7398
secondary
#BA8569
accent
#7F4CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80