#2D78B8#2D78B8

#2D78B8 is a mid, vivid cyan. Relative luminance 0.175; OKLCH L 55.8% C 0.123 H 248.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2D78B8
RGBrgb(45, 120, 184)
HSLhsl(208, 61%, 45%)
HSVhsv(208, 76%, 72%)
CMYKcmyk(75.5%, 34.8%, 0%, 27.8%)
CIE-LABlab(48.82, -0.78, -40.28)
CIE-LCHlch(48.82, 40.29, 268.89°)
OKLaboklab(55.75% -0.0461 -0.1145)
OKLCHoklch(55.75% 0.123 248.1)
XYZxyz(16.4471, 17.4496, 47.8394)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D78B8 #B86D2D
analogous
#2DB8B3 #2D78B8 #2D32B8
triadic
#2D78B8 #B82D78 #78B82D
tetradic
#2D78B8 #B32DB8 #B86D2D #32B82D
square
#2D78B8 #B32DB8 #B86D2D #32B82D
split-complementary
#2D78B8 #B82D32 #B8B32D
monochromatic
#153856 #215887 #2D78B8 #4E96D4 #80B4E0

Accessibility & contrast

On white

4.68
#2D78B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2D78B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D78B8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D78B8#FFFFFF#000000##FFFFFF
##2D78B81.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B7BBB
Deuteranopia (green-blind)
#466EB7
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d78b8;
/* rgb */ color: rgb(45, 120, 184);
/* oklch */ color: oklch(55.8% 0.123 248.1);
Tailwind
colors: {
  custom: {
    50: '#799ecd',
    500: '#2d78b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d78b8;
$custom-light: #799ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d78b8",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 184
  },
  "hsl": {
    "h": 207.626,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55751,
    "c": 0.12345,
    "h": 248.1
  },
  "luminance": 0.17452
}

Semantic roles & 50–950 ramp

primary
#2D78B8
secondary
#C99D78
accent
#8E44E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2D78B8

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

Preview Lab → · Contrast checker → · Palette generator →

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