#2D78D1#2D78D1

#2D78D1 is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.3% C 0.155 H 255.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2D78D1
RGBrgb(45, 120, 209)
HSLhsl(213, 65%, 50%)
HSVhsv(213, 78%, 82%)
CMYKcmyk(78.5%, 42.6%, 0%, 18%)
CIE-LABlab(50.21, 8.53, -52.40)
CIE-LCHlch(50.21, 53.09, 279.24°)
OKLaboklab(57.28% -0.04 -0.1501)
OKLCHoklch(57.28% 0.155 255.1)
XYZxyz(19.3030, 18.5920, 62.8805)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D78D1 #D1862D
analogous
#2DCAD1 #2D78D1 #342DD1
triadic
#2D78D1 #D12D78 #78D12D
tetradic
#2D78D1 #D12DCA #D1862D #2DD134
square
#2D78D1 #D12DCA #D1862D #2DD134
split-complementary
#2D78D1 #D1342D #CAD12D
monochromatic
#173E6C #225B9F #2D78D1 #5F98DC #91B9E7

Accessibility & contrast

On white

4.45
#2D78D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2D78D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D78D1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D78D1#FFFFFF#000000##000000
##2D78D11.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7FD4
Deuteranopia (green-blind)
#2D71CF
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d78d1;
/* rgb */ color: rgb(45, 120, 209);
/* oklch */ color: oklch(57.3% 0.155 255.1);
Tailwind
colors: {
  custom: {
    50: '#7e9edf',
    500: '#2d78d1',
    950: '#000000',
  },
}
SCSS
$custom: #2d78d1;
$custom-light: #7e9edf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d78d1",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 209
  },
  "hsl": {
    "h": 212.561,
    "s": 64.567,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57283,
    "c": 0.15531,
    "h": 255.1
  },
  "luminance": 0.18594
}

Semantic roles & 50–950 ramp

primary
#2D78D1
secondary
#D2B088
accent
#9B40E8
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #2D78D1

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

Preview Lab → · Contrast checker → · Palette generator →

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