#2E78D5#2E78D5

#2E78D5 is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.6% C 0.160 H 256.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2E78D5
RGBrgb(46, 120, 213)
HSLhsl(213, 67%, 51%)
HSVhsv(213, 78%, 84%)
CMYKcmyk(78.4%, 43.7%, 0%, 16.5%)
CIE-LABlab(50.47, 10.13, -54.25)
CIE-LCHlch(50.47, 55.19, 280.58°)
OKLaboklab(57.57% -0.0387 -0.1555)
OKLCHoklch(57.57% 0.16 256)
XYZxyz(19.8490, 18.8155, 65.5235)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E78D5 #D58B2E
analogous
#2ECCD5 #2E78D5 #372ED5
triadic
#2E78D5 #D52E78 #78D52E
tetradic
#2E78D5 #D52ECC #D58B2E #2ED537
square
#2E78D5 #D52ECC #D58B2E #2ED537
split-complementary
#2E78D5 #D5372E #CCD52E
monochromatic
#173F72 #215BA5 #2E78D5 #6199DF #94BAE9

Accessibility & contrast

On white

4.41
#2E78D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2E78D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E78D5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E78D5#FFFFFF#000000##000000
##2E78D51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4880D9
Deuteranopia (green-blind)
#2771D3
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e78d5;
/* rgb */ color: rgb(46, 120, 213);
/* oklch */ color: oklch(57.6% 0.160 256.0);
Tailwind
colors: {
  custom: {
    50: '#7f9ee2',
    500: '#2e78d5',
    950: '#000000',
  },
}
SCSS
$custom: #2e78d5;
$custom-light: #7f9ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e78d5",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 213
  },
  "hsl": {
    "h": 213.413,
    "s": 66.534,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57572,
    "c": 0.16021,
    "h": 256
  },
  "luminance": 0.18818
}

Semantic roles & 50–950 ramp

primary
#2E78D5
secondary
#D4B48A
accent
#9E3EE9
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #2E78D5

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

Preview Lab → · Contrast checker → · Palette generator →

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