#2F7197#2F7197

#2F7197 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.3% C 0.089 H 237.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2F7197
RGBrgb(47, 113, 151)
HSLhsl(202, 53%, 39%)
HSVhsv(202, 69%, 59%)
CMYKcmyk(68.9%, 25.2%, 0%, 40.8%)
CIE-LABlab(45.15, -8.21, -26.75)
CIE-LCHlch(45.15, 27.99, 252.94°)
OKLaboklab(52.34% -0.0483 -0.0752)
OKLCHoklch(52.34% 0.089 237.3)
XYZxyz(12.6612, 14.6476, 31.4322)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7197 #97552F
analogous
#2F9789 #2F7197 #2F3D97
triadic
#2F7197 #972F71 #71972F
tetradic
#2F7197 #892F97 #97552F #3D972F
square
#2F7197 #892F97 #97552F #3D972F
split-complementary
#2F7197 #972F3D #97892F
monochromatic
#122B3A #204E68 #2F7197 #4093C3 #6EAED2

Accessibility & contrast

On white

5.34
#2F7197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2F7197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7197
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7197#FFFFFF#000000##FFFFFF
##2F71971.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7199
Deuteranopia (green-blind)
#516696
Tritanopia (blue-blind)
#007B7E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f7197;
/* rgb */ color: rgb(47, 113, 151);
/* oklch */ color: oklch(52.3% 0.089 237.3);
Tailwind
colors: {
  custom: {
    50: '#7499b5',
    500: '#2f7197',
    950: '#000000',
  },
}
SCSS
$custom: #2f7197;
$custom-light: #7499b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7197",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 151
  },
  "hsl": {
    "h": 201.923,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.52338,
    "c": 0.08942,
    "h": 237.3
  },
  "luminance": 0.14649
}

Semantic roles & 50–950 ramp

primary
#2F7197
secondary
#B98668
accent
#814CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7197

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2F7197 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva