#2F7EC9#2F7EC9

#2F7EC9 is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.2% C 0.138 H 250.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2F7EC9
RGBrgb(47, 126, 201)
HSLhsl(209, 62%, 49%)
HSVhsv(209, 77%, 79%)
CMYKcmyk(76.6%, 37.3%, 0%, 21.2%)
CIE-LABlab(51.54, 2.10, -45.72)
CIE-LCHlch(51.54, 45.76, 272.63°)
OKLaboklab(58.19% -0.0459 -0.1303)
OKLCHoklch(58.19% 0.138 250.6)
XYZxyz(19.1718, 19.7408, 58.0470)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EC9 #C97A2F
analogous
#2FC9C7 #2F7EC9 #2F31C9
triadic
#2F7EC9 #C92F7E #7EC92F
tetradic
#2F7EC9 #C72FC9 #C97A2F #31C92F
square
#2F7EC9 #C72FC9 #C97A2F #31C92F
split-complementary
#2F7EC9 #C92F31 #C9C72F
monochromatic
#184066 #235F97 #2F7EC9 #5C9CD9 #8EBAE5

Accessibility & contrast

On white

4.24
#2F7EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2F7EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7EC9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7EC9#FFFFFF#000000##000000
##2F7EC91.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CC
Deuteranopia (green-blind)
#4374C8
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f7ec9;
/* rgb */ color: rgb(47, 126, 201);
/* oklch */ color: oklch(58.2% 0.138 250.6);
Tailwind
colors: {
  custom: {
    50: '#7da2da',
    500: '#2f7ec9',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ec9;
$custom-light: #7da2da;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ec9",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 201
  },
  "hsl": {
    "h": 209.221,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58195,
    "c": 0.13816,
    "h": 250.6
  },
  "luminance": 0.19743
}

Semantic roles & 50–950 ramp

primary
#2F7EC9
secondary
#CFA985
accent
#9243E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #2F7EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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