#2F7491#2F7491

#2F7491 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 52.8% C 0.082 H 229.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2F7491
RGBrgb(47, 116, 145)
HSLhsl(198, 51%, 38%)
HSVhsv(198, 68%, 57%)
CMYKcmyk(67.6%, 20%, 0%, 43.1%)
CIE-LABlab(45.82, -12.03, -22.15)
CIE-LCHlch(45.82, 25.21, 241.50°)
OKLaboklab(52.79% -0.0538 -0.062)
OKLCHoklch(52.79% 0.082 229)
XYZxyz(12.5265, 15.1381, 29.0444)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7491 #914C2F
analogous
#2F917D #2F7491 #2F4391
triadic
#2F7491 #912F74 #74912F
tetradic
#2F7491 #7D2F91 #914C2F #43912F
square
#2F7491 #7D2F91 #914C2F #43912F
split-complementary
#2F7491 #912F43 #917D2F
monochromatic
#112A35 #204F63 #2F7491 #3E99BF #6BB2CF

Accessibility & contrast

On white

5.21
#2F7491 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2F7491 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7491
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7491#FFFFFF#000000##FFFFFF
##2F74911.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657292
Deuteranopia (green-blind)
#576891
Tritanopia (blue-blind)
#007C7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7491;
/* rgb */ color: rgb(47, 116, 145);
/* oklch */ color: oklch(52.8% 0.082 229.0);
Tailwind
colors: {
  custom: {
    50: '#739cb1',
    500: '#2f7491',
    950: '#000000',
  },
}
SCSS
$custom: #2f7491;
$custom-light: #739cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7491",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 145
  },
  "hsl": {
    "h": 197.755,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.0821,
    "h": 229
  },
  "luminance": 0.15139
}

Semantic roles & 50–950 ramp

primary
#2F7491
secondary
#B67D65
accent
#774DDB
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2F7491

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

Preview Lab → · Contrast checker → · Palette generator →

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