#2F7391#2F7391

#2F7391 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.5% C 0.082 H 230.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2F7391
RGBrgb(47, 115, 145)
HSLhsl(198, 51%, 38%)
HSVhsv(198, 68%, 57%)
CMYKcmyk(67.6%, 20.7%, 0%, 43.1%)
CIE-LABlab(45.51, -11.46, -22.64)
CIE-LCHlch(45.51, 25.37, 243.16°)
OKLaboklab(52.54% -0.0527 -0.0634)
OKLCHoklch(52.54% 0.082 230.2)
XYZxyz(12.4118, 14.9088, 29.0061)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7391 #914D2F
analogous
#2F917E #2F7391 #2F4291
triadic
#2F7391 #912F73 #73912F
tetradic
#2F7391 #7E2F91 #914D2F #42912F
square
#2F7391 #7E2F91 #914D2F #42912F
split-complementary
#2F7391 #912F42 #917E2F
monochromatic
#112A35 #204E63 #2F7391 #3E98BF #6BB1CF

Accessibility & contrast

On white

5.27
#2F7391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2F7391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7391
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7391#FFFFFF#000000##FFFFFF
##2F73911.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647192
Deuteranopia (green-blind)
#566791
Tritanopia (blue-blind)
#007B7D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f7391;
/* rgb */ color: rgb(47, 115, 145);
/* oklch */ color: oklch(52.5% 0.082 230.2);
Tailwind
colors: {
  custom: {
    50: '#739bb1',
    500: '#2f7391',
    950: '#000000',
  },
}
SCSS
$custom: #2f7391;
$custom-light: #739bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7391",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 145
  },
  "hsl": {
    "h": 198.367,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.08245,
    "h": 230.2
  },
  "luminance": 0.1491
}

Semantic roles & 50–950 ramp

primary
#2F7391
secondary
#B67E65
accent
#794DDB
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2F7391

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

Preview Lab → · Contrast checker → · Palette generator →

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