#2E78D7#2E78D7

#2E78D7 is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.7% C 0.163 H 256.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2E78D7
RGBrgb(46, 120, 215)
HSLhsl(214, 68%, 51%)
HSVhsv(214, 79%, 84%)
CMYKcmyk(78.6%, 44.2%, 0%, 15.7%)
CIE-LABlab(50.59, 10.88, -55.19)
CIE-LCHlch(50.59, 56.25, 281.15°)
OKLaboklab(57.7% -0.0383 -0.1582)
OKLCHoklch(57.7% 0.163 256.4)
XYZxyz(20.1044, 18.9177, 66.8687)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E78D7 #D78D2E
analogous
#2ECCD7 #2E78D7 #382ED7
triadic
#2E78D7 #D72E78 #78D72E
tetradic
#2E78D7 #D72ECC #D78D2E #2ED738
square
#2E78D7 #D72ECC #D78D2E #2ED738
split-complementary
#2E78D7 #D7382E #CCD72E
monochromatic
#163F74 #205BA8 #2E78D7 #6199E1 #95BAEB

Accessibility & contrast

On white

4.39
#2E78D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2E78D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E78D7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E78D7#FFFFFF#000000##000000
##2E78D71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4781DB
Deuteranopia (green-blind)
#2371D5
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e78d7;
/* rgb */ color: rgb(46, 120, 215);
/* oklch */ color: oklch(57.7% 0.163 256.4);
Tailwind
colors: {
  custom: {
    50: '#809ee4',
    500: '#2e78d7',
    950: '#000000',
  },
}
SCSS
$custom: #2e78d7;
$custom-light: #809ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e78d7",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 215
  },
  "hsl": {
    "h": 213.728,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57704,
    "c": 0.16281,
    "h": 256.4
  },
  "luminance": 0.1892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E78D7

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

Preview Lab → · Contrast checker → · Palette generator →

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