#2F7191#2F7191

#2F7191 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.0% C 0.083 H 232.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#2F7191
RGBrgb(47, 113, 145)
HSLhsl(200, 51%, 38%)
HSVhsv(200, 68%, 57%)
CMYKcmyk(67.6%, 22.1%, 0%, 43.1%)
CIE-LABlab(44.88, -10.30, -23.61)
CIE-LCHlch(44.88, 25.76, 246.43°)
OKLaboklab(52.04% -0.0505 -0.0662)
OKLCHoklch(52.04% 0.083 232.6)
XYZxyz(12.1862, 14.4576, 28.9309)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7191 #914F2F
analogous
#2F9180 #2F7191 #2F4091
triadic
#2F7191 #912F71 #71912F
tetradic
#2F7191 #802F91 #914F2F #40912F
square
#2F7191 #802F91 #914F2F #40912F
split-complementary
#2F7191 #912F40 #91802F
monochromatic
#112935 #204D63 #2F7191 #3E95BF #6BAFCF

Accessibility & contrast

On white

5.40
#2F7191 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#2F7191 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7191
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7191#FFFFFF#000000##FFFFFF
##2F71911.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617093
Deuteranopia (green-blind)
#546691
Tritanopia (blue-blind)
#007A7C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f7191;
/* rgb */ color: rgb(47, 113, 145);
/* oklch */ color: oklch(52.0% 0.083 232.6);
Tailwind
colors: {
  custom: {
    50: '#7399b1',
    500: '#2f7191',
    950: '#000000',
  },
}
SCSS
$custom: #2f7191;
$custom-light: #7399b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7191",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 145
  },
  "hsl": {
    "h": 199.592,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.52039,
    "c": 0.08327,
    "h": 232.6
  },
  "luminance": 0.14459
}

Semantic roles & 50–950 ramp

primary
#2F7191
secondary
#B68065
accent
#7B4DDB
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2F7191

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

Preview Lab → · Contrast checker → · Palette generator →

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