#2F7FAE#2F7FAE

#2F7FAE is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.9% C 0.105 H 238.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2F7FAE
RGBrgb(47, 127, 174)
HSLhsl(202, 57%, 43%)
HSVhsv(202, 73%, 68%)
CMYKcmyk(73%, 27%, 0%, 31.8%)
CIE-LABlab(50.50, -8.27, -31.87)
CIE-LCHlch(50.50, 32.92, 255.45°)
OKLaboklab(56.93% -0.0549 -0.0899)
OKLCHoklch(56.93% 0.105 238.6)
XYZxyz(16.3987, 18.8372, 42.8079)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FAE #AE5E2F
analogous
#2FAE9D #2F7FAE #2F3FAE
triadic
#2F7FAE #AE2F7F #7FAE2F
tetradic
#2F7FAE #9D2FAE #AE5E2F #3FAE2F
square
#2F7FAE #9D2FAE #AE5E2F #3FAE2F
split-complementary
#2F7FAE #AE2F3F #AE9D2F
monochromatic
#15394E #225C7E #2F7FAE #4C9ECF #7CB8DC

Accessibility & contrast

On white

4.40
#2F7FAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2F7FAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FAE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FAE#FFFFFF#000000##000000
##2F7FAE1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#697FB0
Deuteranopia (green-blind)
#5873AD
Tritanopia (blue-blind)
#008B8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f7fae;
/* rgb */ color: rgb(47, 127, 174);
/* oklch */ color: oklch(56.9% 0.105 238.6);
Tailwind
colors: {
  custom: {
    50: '#78a4c6',
    500: '#2f7fae',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fae;
$custom-light: #78a4c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fae",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 174
  },
  "hsl": {
    "h": 202.205,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56929,
    "c": 0.10532,
    "h": 238.6
  },
  "luminance": 0.18839
}

Semantic roles & 50–950 ramp

primary
#2F7FAE
secondary
#C49275
accent
#8047E1
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F7FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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