#2E78C7#2E78C7

#2E78C7 is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.7% C 0.142 H 252.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2E78C7
RGBrgb(46, 120, 199)
HSLhsl(211, 62%, 48%)
HSVhsv(211, 77%, 78%)
CMYKcmyk(76.9%, 39.7%, 0%, 22%)
CIE-LABlab(49.66, 4.90, -47.57)
CIE-LCHlch(49.66, 47.82, 275.88°)
OKLaboklab(56.68% -0.0417 -0.1359)
OKLCHoklch(56.68% 0.142 252.9)
XYZxyz(18.1481, 18.1352, 56.5657)
Luminance0.1814 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E78C7 #C77D2E
analogous
#2EC5C7 #2E78C7 #302EC7
triadic
#2E78C7 #C72E78 #78C72E
tetradic
#2E78C7 #C72EC5 #C77D2E #2EC730
square
#2E78C7 #C72EC5 #C77D2E #2EC730
split-complementary
#2E78C7 #C7302E #C5C72E
monochromatic
#173C64 #235A95 #2E78C7 #5997D9 #8BB6E4

Accessibility & contrast

On white

4.54
#2E78C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2E78C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E78C7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E78C7#FFFFFF#000000##000000
##2E78C71.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#527ECA
Deuteranopia (green-blind)
#3970C5
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2e78c7;
/* rgb */ color: rgb(46, 120, 199);
/* oklch */ color: oklch(56.7% 0.142 252.9);
Tailwind
colors: {
  custom: {
    50: '#7c9ed8',
    500: '#2e78c7',
    950: '#000000',
  },
}
SCSS
$custom: #2e78c7;
$custom-light: #7c9ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e78c7",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 199
  },
  "hsl": {
    "h": 210.98,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56679,
    "c": 0.14211,
    "h": 252.9
  },
  "luminance": 0.18137
}

Semantic roles & 50–950 ramp

primary
#2E78C7
secondary
#CEAA83
accent
#9742E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2E78C7

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

Preview Lab → · Contrast checker → · Palette generator →

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