#2F7196#2F7196

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

Color values

HEX#2F7196
RGBrgb(47, 113, 150)
HSLhsl(202, 52%, 39%)
HSVhsv(202, 69%, 59%)
CMYKcmyk(68.7%, 24.7%, 0%, 41.2%)
CIE-LABlab(45.10, -8.56, -26.23)
CIE-LCHlch(45.10, 27.59, 251.92°)
OKLaboklab(52.29% -0.0487 -0.0737)
OKLCHoklch(52.29% 0.088 236.6)
XYZxyz(12.5803, 14.6153, 31.0063)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7196 #96542F
analogous
#2F9687 #2F7196 #2F3E96
triadic
#2F7196 #962F71 #71962F
tetradic
#2F7196 #872F96 #96542F #3E962F
square
#2F7196 #872F96 #96542F #3E962F
split-complementary
#2F7196 #962F3E #96872F
monochromatic
#122B39 #204E67 #2F7196 #3F94C3 #6EAED2

Accessibility & contrast

On white

5.35
#2F7196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2F7196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7196
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7196#FFFFFF#000000##FFFFFF
##2F71961.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7196;
/* rgb */ color: rgb(47, 113, 150);
/* oklch */ color: oklch(52.3% 0.088 236.6);
Tailwind
colors: {
  custom: {
    50: '#7499b5',
    500: '#2f7196',
    950: '#000000',
  },
}
SCSS
$custom: #2f7196;
$custom-light: #7499b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7196",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 150
  },
  "hsl": {
    "h": 201.553,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.52287,
    "c": 0.08836,
    "h": 236.6
  },
  "luminance": 0.14617
}

Semantic roles & 50–950 ramp

primary
#2F7196
secondary
#B98568
accent
#804CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7196

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

Preview Lab → · Contrast checker → · Palette generator →

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