#2F7291#2F7291

#2F7291 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.3% C 0.083 H 231.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2F7291
RGBrgb(47, 114, 145)
HSLhsl(199, 51%, 38%)
HSVhsv(199, 68%, 57%)
CMYKcmyk(67.6%, 21.4%, 0%, 43.1%)
CIE-LABlab(45.20, -10.88, -23.12)
CIE-LCHlch(45.20, 25.55, 244.80°)
OKLaboklab(52.29% -0.0516 -0.0648)
OKLCHoklch(52.29% 0.083 231.4)
XYZxyz(12.2984, 14.6820, 28.9683)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7291 #914E2F
analogous
#2F917F #2F7291 #2F4191
triadic
#2F7291 #912F72 #72912F
tetradic
#2F7291 #7F2F91 #914E2F #41912F
square
#2F7291 #7F2F91 #914E2F #41912F
split-complementary
#2F7291 #912F41 #917F2F
monochromatic
#112935 #204E63 #2F7291 #3E96BF #6BB0CF

Accessibility & contrast

On white

5.33
#2F7291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2F7291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7291
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7291#FFFFFF#000000##FFFFFF
##2F72911.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627193
Deuteranopia (green-blind)
#556791
Tritanopia (blue-blind)
#007A7C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f7291;
/* rgb */ color: rgb(47, 114, 145);
/* oklch */ color: oklch(52.3% 0.083 231.4);
Tailwind
colors: {
  custom: {
    50: '#739ab1',
    500: '#2f7291',
    950: '#000000',
  },
}
SCSS
$custom: #2f7291;
$custom-light: #739ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7291",
  "rgb": {
    "r": 47,
    "g": 114,
    "b": 145
  },
  "hsl": {
    "h": 198.98,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.52289,
    "c": 0.08284,
    "h": 231.4
  },
  "luminance": 0.14683
}

Semantic roles & 50–950 ramp

primary
#2F7291
secondary
#B67F65
accent
#7A4DDB
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2F7291

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

Preview Lab → · Contrast checker → · Palette generator →

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