#2E78CC#2E78CC

#2E78CC is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 57.0% C 0.149 H 254.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2E78CC
RGBrgb(46, 120, 204)
HSLhsl(212, 63%, 49%)
HSVhsv(212, 77%, 80%)
CMYKcmyk(77.5%, 41.2%, 0%, 20%)
CIE-LABlab(49.94, 6.77, -49.98)
CIE-LCHlch(49.94, 50.43, 277.71°)
OKLaboklab(56.99% -0.0405 -0.1429)
OKLCHoklch(56.99% 0.149 254.2)
XYZxyz(18.7382, 18.3712, 59.6735)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E78CC #CC822E
analogous
#2EC7CC #2E78CC #332ECC
triadic
#2E78CC #CC2E78 #78CC2E
tetradic
#2E78CC #CC2EC7 #CC822E #2ECC33
square
#2E78CC #CC2EC7 #CC822E #2ECC33
split-complementary
#2E78CC #CC332E #C7CC2E
monochromatic
#173D68 #235B9A #2E78CC #5D98DA #8FB7E6

Accessibility & contrast

On white

4.49
#2E78CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#2E78CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E78CC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E78CC#FFFFFF#000000##000000
##2E78CC1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FCF
Deuteranopia (green-blind)
#3470CA
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2e78cc;
/* rgb */ color: rgb(46, 120, 204);
/* oklch */ color: oklch(57.0% 0.149 254.2);
Tailwind
colors: {
  custom: {
    50: '#7d9edc',
    500: '#2e78cc',
    950: '#000000',
  },
}
SCSS
$custom: #2e78cc;
$custom-light: #7d9edc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e78cc",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 211.899,
    "s": 63.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56992,
    "c": 0.14855,
    "h": 254.2
  },
  "luminance": 0.18373
}

Semantic roles & 50–950 ramp

primary
#2E78CC
secondary
#D0AD86
accent
#9942E6
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2E78CC

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

Preview Lab → · Contrast checker → · Palette generator →

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