#2F7CC9#2F7CC9

#2F7CC9 is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.7% C 0.140 H 251.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2F7CC9
RGBrgb(47, 124, 201)
HSLhsl(210, 62%, 49%)
HSVhsv(210, 77%, 79%)
CMYKcmyk(76.6%, 38.3%, 0%, 21.2%)
CIE-LABlab(50.96, 3.31, -46.64)
CIE-LCHlch(50.96, 46.76, 274.06°)
OKLaboklab(57.74% -0.0442 -0.133)
OKLCHoklch(57.74% 0.14 251.6)
XYZxyz(18.9186, 19.2345, 57.9626)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CC9 #C97C2F
analogous
#2FC9C9 #2F7CC9 #2F2FC9
triadic
#2F7CC9 #C92F7C #7CC92F
tetradic
#2F7CC9 #C92FC9 #C97C2F #2FC92F
square
#2F7CC9 #C92FC9 #C97C2F #2FC92F
split-complementary
#2F7CC9 #C92F2F #C9C92F
monochromatic
#183F66 #235D97 #2F7CC9 #5C9BD9 #8EB9E5

Accessibility & contrast

On white

4.33
#2F7CC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#2F7CC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7CC9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CC9#FFFFFF#000000##000000
##2F7CC91.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CC
Deuteranopia (green-blind)
#4073C7
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f7cc9;
/* rgb */ color: rgb(47, 124, 201);
/* oklch */ color: oklch(57.7% 0.140 251.6);
Tailwind
colors: {
  custom: {
    50: '#7da1da',
    500: '#2f7cc9',
    950: '#000000',
  },
}
SCSS
$custom: #2f7cc9;
$custom-light: #7da1da;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7cc9",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 201
  },
  "hsl": {
    "h": 210,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57739,
    "c": 0.14019,
    "h": 251.6
  },
  "luminance": 0.19237
}

Semantic roles & 50–950 ramp

primary
#2F7CC9
secondary
#CFAA85
accent
#9443E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2F7CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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