#2E7FC7#2E7FC7

#2E7FC7 is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.3% C 0.135 H 249.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2E7FC7
RGBrgb(46, 127, 199)
HSLhsl(208, 62%, 48%)
HSVhsv(208, 77%, 78%)
CMYKcmyk(76.9%, 36.2%, 0%, 22%)
CIE-LABlab(51.70, 0.64, -44.33)
CIE-LCHlch(51.70, 44.33, 270.83°)
OKLaboklab(58.28% -0.0479 -0.1262)
OKLCHoklch(58.28% 0.135 249.2)
XYZxyz(19.0210, 19.8809, 56.8567)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7FC7 #C7762E
analogous
#2EC7C2 #2E7FC7 #2E33C7
triadic
#2E7FC7 #C72E7F #7FC72E
tetradic
#2E7FC7 #C22EC7 #C7762E #33C72E
square
#2E7FC7 #C22EC7 #C7762E #33C72E
split-complementary
#2E7FC7 #C72E33 #C7C22E
monochromatic
#174064 #235F95 #2E7FC7 #599DD9 #8BBAE4

Accessibility & contrast

On white

4.22
#2E7FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#2E7FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7FC7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7FC7#FFFFFF#000000##000000
##2E7FC71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CA
Deuteranopia (green-blind)
#4775C6
Tritanopia (blue-blind)
#009099
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2e7fc7;
/* rgb */ color: rgb(46, 127, 199);
/* oklch */ color: oklch(58.3% 0.135 249.2);
Tailwind
colors: {
  custom: {
    50: '#7ca3d8',
    500: '#2e7fc7',
    950: '#000000',
  },
}
SCSS
$custom: #2e7fc7;
$custom-light: #7ca3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7fc7",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 199
  },
  "hsl": {
    "h": 208.235,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58278,
    "c": 0.135,
    "h": 249.2
  },
  "luminance": 0.19883
}

Semantic roles & 50–950 ramp

primary
#2E7FC7
secondary
#CEA683
accent
#8F42E6
background
#F8FAFD
surface
#EFF3FA
border
#CACDD3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #2E7FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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