#2F7194#2F7194

#2F7194 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.2% C 0.086 H 235.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2F7194
RGBrgb(47, 113, 148)
HSLhsl(201, 52%, 38%)
HSVhsv(201, 68%, 58%)
CMYKcmyk(68.2%, 23.6%, 0%, 42%)
CIE-LABlab(45.01, -9.26, -25.18)
CIE-LCHlch(45.01, 26.83, 249.81°)
OKLaboklab(52.19% -0.0494 -0.0707)
OKLCHoklch(52.19% 0.086 235)
XYZxyz(12.4206, 14.5514, 30.1653)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7194 #94522F
analogous
#2F9484 #2F7194 #2F3E94
triadic
#2F7194 #942F71 #71942F
tetradic
#2F7194 #842F94 #94522F #3E942F
square
#2F7194 #842F94 #94522F #3E942F
split-complementary
#2F7194 #942F3E #94842F
monochromatic
#112A37 #204E66 #2F7194 #3E94C2 #6DAED1

Accessibility & contrast

On white

5.37
#2F7194 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2F7194 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7194
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7194#FFFFFF#000000##FFFFFF
##2F71941.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607096
Deuteranopia (green-blind)
#526693
Tritanopia (blue-blind)
#007A7D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7194;
/* rgb */ color: rgb(47, 113, 148);
/* oklch */ color: oklch(52.2% 0.086 235.0);
Tailwind
colors: {
  custom: {
    50: '#7399b3',
    500: '#2f7194',
    950: '#000000',
  },
}
SCSS
$custom: #2f7194;
$custom-light: #7399b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7194",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 148
  },
  "hsl": {
    "h": 200.792,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.52187,
    "c": 0.08627,
    "h": 235
  },
  "luminance": 0.14553
}

Semantic roles & 50–950 ramp

primary
#2F7194
secondary
#B88367
accent
#7E4DDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7194

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

Preview Lab → · Contrast checker → · Palette generator →

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