#2E78B2#2E78B2

#2E78B2 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.4% C 0.116 H 245.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2E78B2
RGBrgb(46, 120, 178)
HSLhsl(206, 59%, 44%)
HSVhsv(206, 74%, 70%)
CMYKcmyk(74.2%, 32.6%, 0%, 30.2%)
CIE-LABlab(48.54, -2.84, -37.25)
CIE-LCHlch(48.54, 37.36, 265.63°)
OKLaboklab(55.44% -0.0473 -0.1056)
OKLCHoklch(55.44% 0.116 245.9)
XYZxyz(15.8760, 17.2263, 44.5991)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E78B2 #B2682E
analogous
#2EB2AA #2E78B2 #2E36B2
triadic
#2E78B2 #B22E78 #78B22E
tetradic
#2E78B2 #AA2EB2 #B2682E #36B22E
square
#2E78B2 #AA2EB2 #B2682E #36B22E
split-complementary
#2E78B2 #B22E36 #B2AA2E
monochromatic
#153651 #215781 #2E78B2 #4C97D1 #7DB3DD

Accessibility & contrast

On white

4.72
#2E78B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2E78B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E78B2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E78B2#FFFFFF#000000##FFFFFF
##2E78B21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB4
Deuteranopia (green-blind)
#4B6EB1
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2e78b2;
/* rgb */ color: rgb(46, 120, 178);
/* oklch */ color: oklch(55.4% 0.116 245.9);
Tailwind
colors: {
  custom: {
    50: '#789ec9',
    500: '#2e78b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e78b2;
$custom-light: #789ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e78b2",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 178
  },
  "hsl": {
    "h": 206.364,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5544,
    "c": 0.11573,
    "h": 245.9
  },
  "luminance": 0.17228
}

Semantic roles & 50–950 ramp

primary
#2E78B2
secondary
#C69976
accent
#8A46E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2E78B2

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

Preview Lab → · Contrast checker → · Palette generator →

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