#2E7CD7#2E7CD7

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

Color values

HEX#2E7CD7
RGBrgb(46, 124, 215)
HSLhsl(212, 68%, 51%)
HSVhsv(212, 79%, 84%)
CMYKcmyk(78.6%, 42.3%, 0%, 15.7%)
CIE-LABlab(51.72, 8.40, -53.37)
CIE-LCHlch(51.72, 54.03, 278.95°)
OKLaboklab(58.58% -0.0415 -0.1528)
OKLCHoklch(58.58% 0.158 254.8)
XYZxyz(20.5955, 19.9000, 67.0324)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7CD7 #D7892E
analogous
#2ED0D7 #2E7CD7 #342ED7
triadic
#2E7CD7 #D72E7C #7CD72E
tetradic
#2E7CD7 #D72ED0 #D7892E #2ED734
square
#2E7CD7 #D72ED0 #D7892E #2ED734
split-complementary
#2E7CD7 #D7342E #D0D72E
monochromatic
#164274 #205FA8 #2E7CD7 #619CE1 #95BCEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E7CD7#FFFFFF#000000##000000
##2E7CD71.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)
#4E84DB
Deuteranopia (green-blind)
#2F74D5
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2e7cd7;
/* rgb */ color: rgb(46, 124, 215);
/* oklch */ color: oklch(58.6% 0.158 254.8);
Tailwind
colors: {
  custom: {
    50: '#80a1e4',
    500: '#2e7cd7',
    950: '#000000',
  },
}
SCSS
$custom: #2e7cd7;
$custom-light: #80a1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7cd7",
  "rgb": {
    "r": 46,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 212.308,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58583,
    "c": 0.15837,
    "h": 254.8
  },
  "luminance": 0.19902
}

Semantic roles & 50–950 ramp

primary
#2E7CD7
secondary
#D6B38B
accent
#9B3DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E15
muted
#7D7E84

Preview Lab

Preview with #2E7CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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