#2F7ECF#2F7ECF

#2F7ECF is a mid, vivid cyan. Relative luminance 0.200; OKLCH L 58.6% C 0.146 H 252.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2F7ECF
RGBrgb(47, 126, 207)
HSLhsl(210, 63%, 50%)
HSVhsv(210, 77%, 81%)
CMYKcmyk(77.3%, 39.1%, 0%, 18.8%)
CIE-LABlab(51.87, 4.31, -48.61)
CIE-LCHlch(51.87, 48.80, 275.07°)
OKLaboklab(58.56% -0.0445 -0.1388)
OKLCHoklch(58.56% 0.146 252.2)
XYZxyz(19.8914, 20.0287, 61.8370)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7ECF #CF802F
analogous
#2FCECF #2F7ECF #302FCF
triadic
#2F7ECF #CF2F7E #7ECF2F
tetradic
#2F7ECF #CF2FCE #CF802F #2FCF30
square
#2F7ECF #CF2FCE #CF802F #2FCF30
split-complementary
#2F7ECF #CF302F #CECF2F
monochromatic
#18416B #24609D #2F7ECF #609DDB #92BCE6

Accessibility & contrast

On white

4.19
#2F7ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#2F7ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7ECF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7ECF#FFFFFF#000000##000000
##2F7ECF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5784D2
Deuteranopia (green-blind)
#3E75CD
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f7ecf;
/* rgb */ color: rgb(47, 126, 207);
/* oklch */ color: oklch(58.6% 0.146 252.2);
Tailwind
colors: {
  custom: {
    50: '#7ea2de',
    500: '#2f7ecf',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ecf;
$custom-light: #7ea2de;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ecf",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 210.375,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58557,
    "c": 0.14573,
    "h": 252.2
  },
  "luminance": 0.20031
}

Semantic roles & 50–950 ramp

primary
#2F7ECF
secondary
#D1AD89
accent
#9542E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #2F7ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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