#2E79D7#2E79D7

#2E79D7 is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.9% C 0.162 H 256.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2E79D7
RGBrgb(46, 121, 215)
HSLhsl(213, 68%, 51%)
HSVhsv(213, 79%, 84%)
CMYKcmyk(78.6%, 43.7%, 0%, 15.7%)
CIE-LABlab(50.87, 10.26, -54.74)
CIE-LCHlch(50.87, 55.69, 280.62°)
OKLaboklab(57.92% -0.0391 -0.1569)
OKLCHoklch(57.92% 0.162 256)
XYZxyz(20.2253, 19.1595, 66.9090)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E79D7 #D78C2E
analogous
#2ECDD7 #2E79D7 #372ED7
triadic
#2E79D7 #D72E79 #79D72E
tetradic
#2E79D7 #D72ECD #D78C2E #2ED737
square
#2E79D7 #D72ECD #D78C2E #2ED737
split-complementary
#2E79D7 #D7372E #CDD72E
monochromatic
#164074 #205CA8 #2E79D7 #619AE1 #95BBEB

Accessibility & contrast

On white

4.35
#2E79D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2E79D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E79D7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E79D7#FFFFFF#000000##000000
##2E79D71.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4981DB
Deuteranopia (green-blind)
#2672D5
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2e79d7;
/* rgb */ color: rgb(46, 121, 215);
/* oklch */ color: oklch(57.9% 0.162 256.0);
Tailwind
colors: {
  custom: {
    50: '#809fe4',
    500: '#2e79d7',
    950: '#000000',
  },
}
SCSS
$custom: #2e79d7;
$custom-light: #809fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e79d7",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 215
  },
  "hsl": {
    "h": 213.373,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57923,
    "c": 0.16169,
    "h": 256
  },
  "luminance": 0.19162
}

Semantic roles & 50–950 ramp

primary
#2E79D7
secondary
#D6B58B
accent
#9E3DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E15
muted
#7D7E84

Preview Lab

Preview with #2E79D7

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

Preview Lab → · Contrast checker → · Palette generator →

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