#2D78B7#2D78B7

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

Color values

HEX#2D78B7
RGBrgb(45, 120, 183)
HSLhsl(207, 61%, 45%)
HSVhsv(207, 75%, 72%)
CMYKcmyk(75.4%, 34.4%, 0%, 28.2%)
CIE-LABlab(48.77, -1.15, -39.79)
CIE-LCHlch(48.77, 39.80, 268.35°)
OKLaboklab(55.69% -0.0464 -0.1131)
OKLCHoklch(55.69% 0.122 247.7)
XYZxyz(16.3426, 17.4078, 47.2893)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D78B7 #B76C2D
analogous
#2DB7B1 #2D78B7 #2D33B7
triadic
#2D78B7 #B72D78 #78B72D
tetradic
#2D78B7 #B12DB7 #B76C2D #33B72D
square
#2D78B7 #B12DB7 #B76C2D #33B72D
split-complementary
#2D78B7 #B72D33 #B7B12D
monochromatic
#153855 #215886 #2D78B7 #4E96D3 #7FB3DF

Accessibility & contrast

On white

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

On black

4.48
#2D78B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D78B7#FFFFFF#000000##FFFFFF
##2D78B71.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B7BBA
Deuteranopia (green-blind)
#476EB6
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d78b7;
/* rgb */ color: rgb(45, 120, 183);
/* oklch */ color: oklch(55.7% 0.122 247.7);
Tailwind
colors: {
  custom: {
    50: '#799ecd',
    500: '#2d78b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d78b7;
$custom-light: #799ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d78b7",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 183
  },
  "hsl": {
    "h": 207.391,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55693,
    "c": 0.12221,
    "h": 247.7
  },
  "luminance": 0.1741
}

Semantic roles & 50–950 ramp

primary
#2D78B7
secondary
#C89C78
accent
#8D44E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2D78B7

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

Preview Lab → · Contrast checker → · Palette generator →

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