#2E78D4#2E78D4

#2E78D4 is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.5% C 0.159 H 255.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2E78D4
RGBrgb(46, 120, 212)
HSLhsl(213, 66%, 51%)
HSVhsv(213, 78%, 83%)
CMYKcmyk(78.3%, 43.4%, 0%, 16.9%)
CIE-LABlab(50.41, 9.76, -53.78)
CIE-LCHlch(50.41, 54.66, 280.29°)
OKLaboklab(57.51% -0.0389 -0.1541)
OKLCHoklch(57.51% 0.159 255.8)
XYZxyz(19.7224, 18.7649, 64.8571)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E78D4 #D48A2E
analogous
#2ECBD4 #2E78D4 #372ED4
triadic
#2E78D4 #D42E78 #78D42E
tetradic
#2E78D4 #D42ECB #D48A2E #2ED437
square
#2E78D4 #D42ECB #D48A2E #2ED437
split-complementary
#2E78D4 #D4372E #CBD42E
monochromatic
#173F70 #225BA3 #2E78D4 #6199DE #94BAE9

Accessibility & contrast

On white

4.42
#2E78D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2E78D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E78D4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E78D4#FFFFFF#000000##000000
##2E78D41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4980D8
Deuteranopia (green-blind)
#2871D2
Tritanopia (blue-blind)
#008E9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e78d4;
/* rgb */ color: rgb(46, 120, 212);
/* oklch */ color: oklch(57.5% 0.159 255.8);
Tailwind
colors: {
  custom: {
    50: '#7f9ee2',
    500: '#2e78d4',
    950: '#000000',
  },
}
SCSS
$custom: #2e78d4;
$custom-light: #7f9ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e78d4",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 212
  },
  "hsl": {
    "h": 213.253,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57507,
    "c": 0.15892,
    "h": 255.8
  },
  "luminance": 0.18767
}

Semantic roles & 50–950 ramp

primary
#2E78D4
secondary
#D4B38A
accent
#9D3FE9
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #2E78D4

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

Preview Lab → · Contrast checker → · Palette generator →

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