#2D78B6#2D78B6

#2D78B6 is a mid, vivid cyan. Relative luminance 0.174; OKLCH L 55.6% C 0.121 H 247.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2D78B6
RGBrgb(45, 120, 182)
HSLhsl(207, 60%, 45%)
HSVhsv(207, 75%, 71%)
CMYKcmyk(75.3%, 34.1%, 0%, 28.6%)
CIE-LABlab(48.72, -1.51, -39.29)
CIE-LCHlch(48.72, 39.32, 267.79°)
OKLaboklab(55.64% -0.0467 -0.1116)
OKLCHoklch(55.64% 0.121 247.3)
XYZxyz(16.2389, 17.3664, 46.7431)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D78B6 #B66B2D
analogous
#2DB6AF #2D78B6 #2D34B6
triadic
#2D78B6 #B62D78 #78B62D
tetradic
#2D78B6 #AF2DB6 #B66B2D #34B62D
square
#2D78B6 #AF2DB6 #B66B2D #34B62D
split-complementary
#2D78B6 #B62D34 #B6AF2D
monochromatic
#153754 #215885 #2D78B6 #4D96D3 #7EB3DF

Accessibility & contrast

On white

4.69
#2D78B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2D78B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D78B6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D78B6#FFFFFF#000000##FFFFFF
##2D78B61.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7BB9
Deuteranopia (green-blind)
#486EB5
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d78b6;
/* rgb */ color: rgb(45, 120, 182);
/* oklch */ color: oklch(55.6% 0.121 247.3);
Tailwind
colors: {
  custom: {
    50: '#799ecc',
    500: '#2d78b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d78b6;
$custom-light: #799ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d78b6",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 182
  },
  "hsl": {
    "h": 207.153,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55636,
    "c": 0.12097,
    "h": 247.3
  },
  "luminance": 0.17368
}

Semantic roles & 50–950 ramp

primary
#2D78B6
secondary
#C89C77
accent
#8C44E3
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2D78B6

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

Preview Lab → · Contrast checker → · Palette generator →

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