#2E7AD7#2E7AD7

#2E7AD7 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 58.1% C 0.161 H 255.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2E7AD7
RGBrgb(46, 122, 215)
HSLhsl(213, 68%, 51%)
HSVhsv(213, 79%, 84%)
CMYKcmyk(78.6%, 43.3%, 0%, 15.7%)
CIE-LABlab(51.16, 9.64, -54.28)
CIE-LCHlch(51.16, 55.13, 280.07°)
OKLaboklab(58.14% -0.0399 -0.1555)
OKLCHoklch(58.14% 0.161 255.6)
XYZxyz(20.3474, 19.4038, 66.9497)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7AD7 #D78B2E
analogous
#2ECED7 #2E7AD7 #362ED7
triadic
#2E7AD7 #D72E7A #7AD72E
tetradic
#2E7AD7 #D72ECE #D78B2E #2ED736
square
#2E7AD7 #D72ECE #D78B2E #2ED736
split-complementary
#2E7AD7 #D7362E #CED72E
monochromatic
#164174 #205DA8 #2E7AD7 #619BE1 #95BBEB

Accessibility & contrast

On white

4.30
#2E7AD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2E7AD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7AD7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7AD7#FFFFFF#000000##000000
##2E7AD71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B82DB
Deuteranopia (green-blind)
#2973D5
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2e7ad7;
/* rgb */ color: rgb(46, 122, 215);
/* oklch */ color: oklch(58.1% 0.161 255.6);
Tailwind
colors: {
  custom: {
    50: '#809fe4',
    500: '#2e7ad7',
    950: '#000000',
  },
}
SCSS
$custom: #2e7ad7;
$custom-light: #809fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7ad7",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 215
  },
  "hsl": {
    "h": 213.018,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58142,
    "c": 0.16058,
    "h": 255.6
  },
  "luminance": 0.19406
}

Semantic roles & 50–950 ramp

primary
#2E7AD7
secondary
#D6B48B
accent
#9D3DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E15
muted
#7D7E84

Preview Lab

Preview with #2E7AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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