#2F7487#2F7487

#2F7487 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.3% C 0.074 H 219.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2F7487
RGBrgb(47, 116, 135)
HSLhsl(193, 48%, 36%)
HSVhsv(193, 65%, 53%)
CMYKcmyk(65.2%, 14.1%, 0%, 47.1%)
CIE-LABlab(45.42, -15.38, -16.84)
CIE-LCHlch(45.42, 22.80, 227.59°)
OKLaboklab(52.33% -0.0579 -0.0468)
OKLCHoklch(52.33% 0.074 219)
XYZxyz(11.7891, 14.8432, 25.1607)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7487 #87422F
analogous
#2F876E #2F7487 #2F4887
triadic
#2F7487 #872F74 #74872F
tetradic
#2F7487 #6E2F87 #87422F #48872F
square
#2F7487 #6E2F87 #87422F #48872F
split-complementary
#2F7487 #872F48 #876E2F
monochromatic
#0F262C #1F4D5A #2F7487 #3F9BB4 #66B4CA

Accessibility & contrast

On white

5.29
#2F7487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2F7487 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7487
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7487#FFFFFF#000000##FFFFFF
##2F74871.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687188
Deuteranopia (green-blind)
#5B6787
Tritanopia (blue-blind)
#007A7A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f7487;
/* rgb */ color: rgb(47, 116, 135);
/* oklch */ color: oklch(52.3% 0.074 219.0);
Tailwind
colors: {
  custom: {
    50: '#729caa',
    500: '#2f7487',
    950: '#000000',
  },
}
SCSS
$custom: #2f7487;
$custom-light: #729caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7487",
  "rgb": {
    "r": 47,
    "g": 116,
    "b": 135
  },
  "hsl": {
    "h": 192.955,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.52332,
    "c": 0.07445,
    "h": 219
  },
  "luminance": 0.14844
}

Semantic roles & 50–950 ramp

primary
#2F7487
secondary
#B17261
accent
#6D50D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #2F7487

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

Preview Lab → · Contrast checker → · Palette generator →

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