#2D78BB#2D78BB

#2D78BB is a mid, vivid cyan. Relative luminance 0.176; OKLCH L 55.9% C 0.127 H 249.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2D78BB
RGBrgb(45, 120, 187)
HSLhsl(208, 61%, 45%)
HSVhsv(208, 76%, 73%)
CMYKcmyk(75.9%, 35.8%, 0%, 26.7%)
CIE-LABlab(48.98, 0.33, -41.77)
CIE-LCHlch(48.98, 41.77, 270.45°)
OKLaboklab(55.93% -0.0453 -0.1188)
OKLCHoklch(55.93% 0.127 249.1)
XYZxyz(16.7649, 17.5767, 49.5132)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D78BB #BB702D
analogous
#2DBBB7 #2D78BB #2D31BB
triadic
#2D78BB #BB2D78 #78BB2D
tetradic
#2D78BB #B72DBB #BB702D #31BB2D
square
#2D78BB #B72DBB #BB702D #31BB2D
split-complementary
#2D78BB #BB2D31 #BBB72D
monochromatic
#153958 #21588A #2D78BB #5096D5 #82B4E1

Accessibility & contrast

On white

4.65
#2D78BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2D78BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D78BB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D78BB#FFFFFF#000000##FFFFFF
##2D78BB1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#597CBE
Deuteranopia (green-blind)
#446EBA
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d78bb;
/* rgb */ color: rgb(45, 120, 187);
/* oklch */ color: oklch(55.9% 0.127 249.1);
Tailwind
colors: {
  custom: {
    50: '#7a9ed0',
    500: '#2d78bb',
    950: '#000000',
  },
}
SCSS
$custom: #2d78bb;
$custom-light: #7a9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d78bb",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 208.31,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55925,
    "c": 0.12718,
    "h": 249.1
  },
  "luminance": 0.17579
}

Semantic roles & 50–950 ramp

primary
#2D78BB
secondary
#CAA07A
accent
#8F43E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2D78BB

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

Preview Lab → · Contrast checker → · Palette generator →

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