#2F7CA5#2F7CA5

#2F7CA5 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.7% C 0.098 H 235.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2F7CA5
RGBrgb(47, 124, 165)
HSLhsl(201, 56%, 42%)
HSVhsv(201, 72%, 65%)
CMYKcmyk(71.5%, 24.8%, 0%, 35.3%)
CIE-LABlab(49.17, -9.71, -28.71)
CIE-LCHlch(49.17, 30.30, 251.32°)
OKLaboklab(55.74% -0.0549 -0.0808)
OKLCHoklch(55.74% 0.098 235.8)
XYZxyz(15.1688, 17.7346, 38.2137)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CA5 #A5582F
analogous
#2FA593 #2F7CA5 #2F41A5
triadic
#2F7CA5 #A52F7C #7CA52F
tetradic
#2F7CA5 #932FA5 #A5582F #41A52F
square
#2F7CA5 #932FA5 #A5582F #41A52F
split-complementary
#2F7CA5 #A52F41 #A5932F
monochromatic
#143446 #215875 #2F7CA5 #479DCB #76B6D8

Accessibility & contrast

On white

4.62
#2F7CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2F7CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7CA5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CA5#FFFFFF#000000##FFFFFF
##2F7CA51.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687BA7
Deuteranopia (green-blind)
#5870A4
Tritanopia (blue-blind)
#00878A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7ca5;
/* rgb */ color: rgb(47, 124, 165);
/* oklch */ color: oklch(55.7% 0.098 235.8);
Tailwind
colors: {
  custom: {
    50: '#77a1c0',
    500: '#2f7ca5',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ca5;
$custom-light: #77a1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ca5",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 165
  },
  "hsl": {
    "h": 200.847,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.55744,
    "c": 0.0977,
    "h": 235.8
  },
  "luminance": 0.17736
}

Semantic roles & 50–950 ramp

primary
#2F7CA5
secondary
#C08C70
accent
#7D49DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2F7CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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