#2E7DC7#2E7DC7

#2E7DC7 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 57.8% C 0.137 H 250.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2E7DC7
RGBrgb(46, 125, 199)
HSLhsl(209, 62%, 48%)
HSVhsv(209, 77%, 78%)
CMYKcmyk(76.9%, 37.2%, 0%, 22%)
CIE-LABlab(51.12, 1.85, -45.25)
CIE-LCHlch(51.12, 45.29, 272.34°)
OKLaboklab(57.82% -0.0461 -0.129)
OKLCHoklch(57.82% 0.137 250.3)
XYZxyz(18.7652, 19.3694, 56.7714)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7DC7 #C7782E
analogous
#2EC7C5 #2E7DC7 #2E30C7
triadic
#2E7DC7 #C72E7D #7DC72E
tetradic
#2E7DC7 #C52EC7 #C7782E #30C72E
square
#2E7DC7 #C52EC7 #C7782E #30C72E
split-complementary
#2E7DC7 #C72E30 #C7C52E
monochromatic
#173F64 #235E95 #2E7DC7 #599BD9 #8BB9E4

Accessibility & contrast

On white

4.31
#2E7DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2E7DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7DC7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7DC7#FFFFFF#000000##000000
##2E7DC71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A81CA
Deuteranopia (green-blind)
#4373C6
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2e7dc7;
/* rgb */ color: rgb(46, 125, 199);
/* oklch */ color: oklch(57.8% 0.137 250.3);
Tailwind
colors: {
  custom: {
    50: '#7ca2d8',
    500: '#2e7dc7',
    950: '#000000',
  },
}
SCSS
$custom: #2e7dc7;
$custom-light: #7ca2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7dc7",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 209.02,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57818,
    "c": 0.13697,
    "h": 250.3
  },
  "luminance": 0.19372
}

Semantic roles & 50–950 ramp

primary
#2E7DC7
secondary
#CEA783
accent
#9142E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #2E7DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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