#2F7FC9#2F7FC9

#2F7FC9 is a mid, vivid cyan. Relative luminance 0.200; OKLCH L 58.4% C 0.137 H 250.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2F7FC9
RGBrgb(47, 127, 201)
HSLhsl(209, 62%, 49%)
HSVhsv(209, 77%, 79%)
CMYKcmyk(76.6%, 36.8%, 0%, 21.2%)
CIE-LABlab(51.83, 1.49, -45.25)
CIE-LCHlch(51.83, 45.28, 271.89°)
OKLaboklab(58.42% -0.0468 -0.1289)
OKLCHoklch(58.42% 0.137 250)
XYZxyz(19.3003, 19.9979, 58.0898)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FC9 #C9792F
analogous
#2FC9C6 #2F7FC9 #2F32C9
triadic
#2F7FC9 #C92F7F #7FC92F
tetradic
#2F7FC9 #C62FC9 #C9792F #32C92F
square
#2F7FC9 #C62FC9 #C9792F #32C92F
split-complementary
#2F7FC9 #C92F32 #C9C62F
monochromatic
#184066 #236097 #2F7FC9 #5C9DD9 #8EBBE5

Accessibility & contrast

On white

4.20
#2F7FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#2F7FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FC9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FC9#FFFFFF#000000##000000
##2F7FC91.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CC
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#00919A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f7fc9;
/* rgb */ color: rgb(47, 127, 201);
/* oklch */ color: oklch(58.4% 0.137 250.0);
Tailwind
colors: {
  custom: {
    50: '#7da3da',
    500: '#2f7fc9',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fc9;
$custom-light: #7da3da;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fc9",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 201
  },
  "hsl": {
    "h": 208.831,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58424,
    "c": 0.13717,
    "h": 250
  },
  "luminance": 0.2
}

Semantic roles & 50–950 ramp

primary
#2F7FC9
secondary
#CFA885
accent
#9143E5
background
#F8FAFD
surface
#EFF3FA
border
#CACDD3
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #2F7FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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