#2F7DA5#2F7DA5

#2F7DA5 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.0% C 0.097 H 234.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2F7DA5
RGBrgb(47, 125, 165)
HSLhsl(200, 56%, 42%)
HSVhsv(200, 72%, 65%)
CMYKcmyk(71.5%, 24.2%, 0%, 35.3%)
CIE-LABlab(49.48, -10.28, -28.23)
CIE-LCHlch(49.48, 30.04, 249.99°)
OKLaboklab(55.99% -0.056 -0.0794)
OKLCHoklch(55.99% 0.097 234.8)
XYZxyz(15.2948, 17.9865, 38.2557)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7DA5 #A5572F
analogous
#2FA592 #2F7DA5 #2F42A5
triadic
#2F7DA5 #A52F7D #7DA52F
tetradic
#2F7DA5 #922FA5 #A5572F #42A52F
square
#2F7DA5 #922FA5 #A5572F #42A52F
split-complementary
#2F7DA5 #A52F42 #A5922F
monochromatic
#143546 #215975 #2F7DA5 #479ECB #76B7D8

Accessibility & contrast

On white

4.57
#2F7DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2F7DA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7DA5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7DA5#FFFFFF#000000##000000
##2F7DA51.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7CA7
Deuteranopia (green-blind)
#5A71A4
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7da5;
/* rgb */ color: rgb(47, 125, 165);
/* oklch */ color: oklch(56.0% 0.097 234.8);
Tailwind
colors: {
  custom: {
    50: '#77a2c0',
    500: '#2f7da5',
    950: '#000000',
  },
}
SCSS
$custom: #2f7da5;
$custom-light: #77a2c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7da5",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 165
  },
  "hsl": {
    "h": 200.339,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.55988,
    "c": 0.09714,
    "h": 234.8
  },
  "luminance": 0.17988
}

Semantic roles & 50–950 ramp

primary
#2F7DA5
secondary
#C08B70
accent
#7C49DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2F7DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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