#2E7EC7#2E7EC7

#2E7EC7 is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.0% C 0.136 H 249.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2E7EC7
RGBrgb(46, 126, 199)
HSLhsl(209, 62%, 48%)
HSVhsv(209, 77%, 78%)
CMYKcmyk(76.9%, 36.7%, 0%, 22%)
CIE-LABlab(51.41, 1.24, -44.79)
CIE-LCHlch(51.41, 44.81, 271.59°)
OKLaboklab(58.05% -0.047 -0.1276)
OKLCHoklch(58.05% 0.136 249.8)
XYZxyz(18.8925, 19.6238, 56.8138)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7EC7 #C7772E
analogous
#2EC7C3 #2E7EC7 #2E32C7
triadic
#2E7EC7 #C72E7E #7EC72E
tetradic
#2E7EC7 #C32EC7 #C7772E #32C72E
square
#2E7EC7 #C32EC7 #C7772E #32C72E
split-complementary
#2E7EC7 #C72E32 #C7C32E
monochromatic
#173F64 #235F95 #2E7EC7 #599CD9 #8BBAE4

Accessibility & contrast

On white

4.26
#2E7EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2E7EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7EC7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7EC7#FFFFFF#000000##000000
##2E7EC71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C82CA
Deuteranopia (green-blind)
#4574C6
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2e7ec7;
/* rgb */ color: rgb(46, 126, 199);
/* oklch */ color: oklch(58.0% 0.136 249.8);
Tailwind
colors: {
  custom: {
    50: '#7ca3d8',
    500: '#2e7ec7',
    950: '#000000',
  },
}
SCSS
$custom: #2e7ec7;
$custom-light: #7ca3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7ec7",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 208.627,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58048,
    "c": 0.13598,
    "h": 249.8
  },
  "luminance": 0.19626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E7EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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