#2E7ED7#2E7ED7

#2E7ED7 is a mid, vivid cyan. Relative luminance 0.204; OKLCH L 59.0% C 0.156 H 254.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2E7ED7
RGBrgb(46, 126, 215)
HSLhsl(212, 68%, 51%)
HSVhsv(212, 79%, 84%)
CMYKcmyk(78.6%, 41.4%, 0%, 15.7%)
CIE-LABlab(52.29, 7.17, -52.46)
CIE-LCHlch(52.29, 52.95, 277.79°)
OKLaboklab(59.03% -0.0432 -0.1501)
OKLCHoklch(59.03% 0.156 254)
XYZxyz(20.8487, 20.4064, 67.1168)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7ED7 #D7872E
analogous
#2ED2D7 #2E7ED7 #322ED7
triadic
#2E7ED7 #D72E7E #7ED72E
tetradic
#2E7ED7 #D72ED2 #D7872E #2ED732
square
#2E7ED7 #D72ED2 #D7872E #2ED732
split-complementary
#2E7ED7 #D7322E #D2D72E
monochromatic
#164374 #2060A8 #2E7ED7 #619EE1 #95BDEB

Accessibility & contrast

On white

4.13
#2E7ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2E7ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7ED7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7ED7#FFFFFF#000000##000000
##2E7ED71.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5285DA
Deuteranopia (green-blind)
#3476D5
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2e7ed7;
/* rgb */ color: rgb(46, 126, 215);
/* oklch */ color: oklch(59.0% 0.156 254.0);
Tailwind
colors: {
  custom: {
    50: '#80a2e4',
    500: '#2e7ed7',
    950: '#000000',
  },
}
SCSS
$custom: #2e7ed7;
$custom-light: #80a2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7ed7",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 215
  },
  "hsl": {
    "h": 211.598,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59026,
    "c": 0.1562,
    "h": 254
  },
  "luminance": 0.20409
}

Semantic roles & 50–950 ramp

primary
#2E7ED7
secondary
#D6B28B
accent
#993DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0F15
muted
#7D7E84

Preview Lab

Preview with #2E7ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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