#2E7DD7#2E7DD7

#2E7DD7 is a mid, vivid cyan. Relative luminance 0.202; OKLCH L 58.8% C 0.157 H 254.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2E7DD7
RGBrgb(46, 125, 215)
HSLhsl(212, 68%, 51%)
HSVhsv(212, 79%, 84%)
CMYKcmyk(78.6%, 41.9%, 0%, 15.7%)
CIE-LABlab(52.01, 7.79, -52.92)
CIE-LCHlch(52.01, 53.49, 278.37°)
OKLaboklab(58.8% -0.0424 -0.1515)
OKLCHoklch(58.8% 0.157 254.4)
XYZxyz(20.7215, 20.1519, 67.0744)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7DD7 #D7882E
analogous
#2ED1D7 #2E7DD7 #332ED7
triadic
#2E7DD7 #D72E7D #7DD72E
tetradic
#2E7DD7 #D72ED1 #D7882E #2ED733
square
#2E7DD7 #D72ED1 #D7882E #2ED733
split-complementary
#2E7DD7 #D7332E #D1D72E
monochromatic
#164274 #205FA8 #2E7DD7 #619DE1 #95BDEB

Accessibility & contrast

On white

4.17
#2E7DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#2E7DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7DD7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7DD7#FFFFFF#000000##000000
##2E7DD71.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5084DB
Deuteranopia (green-blind)
#3275D5
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2e7dd7;
/* rgb */ color: rgb(46, 125, 215);
/* oklch */ color: oklch(58.8% 0.157 254.4);
Tailwind
colors: {
  custom: {
    50: '#80a2e4',
    500: '#2e7dd7',
    950: '#000000',
  },
}
SCSS
$custom: #2e7dd7;
$custom-light: #80a2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7dd7",
  "rgb": {
    "r": 46,
    "g": 125,
    "b": 215
  },
  "hsl": {
    "h": 211.953,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58804,
    "c": 0.15728,
    "h": 254.4
  },
  "luminance": 0.20154
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E7DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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