#2F7ECA#2F7ECA

#2F7ECA is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.3% C 0.139 H 250.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2F7ECA
RGBrgb(47, 126, 202)
HSLhsl(209, 62%, 49%)
HSVhsv(209, 77%, 79%)
CMYKcmyk(76.7%, 37.6%, 0%, 20.8%)
CIE-LABlab(51.60, 2.47, -46.20)
CIE-LCHlch(51.60, 46.27, 273.06°)
OKLaboklab(58.26% -0.0457 -0.1317)
OKLCHoklch(58.26% 0.139 250.9)
XYZxyz(19.2898, 19.7880, 58.6685)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7ECA #CA7B2F
analogous
#2FCAC9 #2F7ECA #2F31CA
triadic
#2F7ECA #CA2F7E #7ECA2F
tetradic
#2F7ECA #C92FCA #CA7B2F #31CA2F
square
#2F7ECA #C92FCA #CA7B2F #31CA2F
split-complementary
#2F7ECA #CA2F31 #CAC92F
monochromatic
#184067 #235F98 #2F7ECA #5D9CD9 #8FBBE5

Accessibility & contrast

On white

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

On black

4.96
#2F7ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7ECA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7ECA#FFFFFF#000000##000000
##2F7ECA1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CD
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f7eca;
/* rgb */ color: rgb(47, 126, 202);
/* oklch */ color: oklch(58.3% 0.139 250.9);
Tailwind
colors: {
  custom: {
    50: '#7da2da',
    500: '#2f7eca',
    950: '#000000',
  },
}
SCSS
$custom: #2f7eca;
$custom-light: #7da2da;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7eca",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 209.419,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58255,
    "c": 0.13942,
    "h": 250.9
  },
  "luminance": 0.1979
}

Semantic roles & 50–950 ramp

primary
#2F7ECA
secondary
#CFAA86
accent
#9242E5
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #2F7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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