#2D78C7#2D78C7

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

Color values

HEX#2D78C7
RGBrgb(45, 120, 199)
HSLhsl(211, 63%, 48%)
HSVhsv(211, 77%, 78%)
CMYKcmyk(77.4%, 39.7%, 0%, 22%)
CIE-LABlab(49.63, 4.79, -47.62)
CIE-LCHlch(49.63, 47.86, 275.74°)
OKLaboklab(56.65% -0.0422 -0.136)
OKLCHoklch(56.65% 0.142 252.7)
XYZxyz(18.1036, 18.1122, 56.5636)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D78C7 #C77C2D
analogous
#2DC5C7 #2D78C7 #2F2DC7
triadic
#2D78C7 #C72D78 #78C72D
tetradic
#2D78C7 #C72DC5 #C77C2D #2DC72F
square
#2D78C7 #C72DC5 #C77C2D #2DC72F
split-complementary
#2D78C7 #C72F2D #C5C72D
monochromatic
#163C63 #225A95 #2D78C7 #5897D9 #8AB6E5

Accessibility & contrast

On white

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

On black

4.62
#2D78C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D78C7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D78C7#FFFFFF#000000##000000
##2D78C71.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.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: #2d78c7;
/* rgb */ color: rgb(45, 120, 199);
/* oklch */ color: oklch(56.6% 0.142 252.7);
Tailwind
colors: {
  custom: {
    50: '#7c9ed8',
    500: '#2d78c7',
    950: '#000000',
  },
}
SCSS
$custom: #2d78c7;
$custom-light: #7c9ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d78c7",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 199
  },
  "hsl": {
    "h": 210.779,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56649,
    "c": 0.14241,
    "h": 252.7
  },
  "luminance": 0.18114
}

Semantic roles & 50–950 ramp

primary
#2D78C7
secondary
#CEA981
accent
#9642E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2D78C7

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

Preview Lab → · Contrast checker → · Palette generator →

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