#2D78BC#2D78BC

#2D78BC is a mid, vivid cyan. Relative luminance 0.176; OKLCH L 56.0% C 0.128 H 249.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2D78BC
RGBrgb(45, 120, 188)
HSLhsl(209, 61%, 46%)
HSVhsv(209, 76%, 74%)
CMYKcmyk(76.1%, 36.2%, 0%, 26.3%)
CIE-LABlab(49.03, 0.70, -42.26)
CIE-LCHlch(49.03, 42.26, 270.95°)
OKLaboklab(55.98% -0.045 -0.1203)
OKLCHoklch(55.98% 0.128 249.5)
XYZxyz(16.8723, 17.6197, 50.0789)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D78BC #BC712D
analogous
#2DBCB8 #2D78BC #2D31BC
triadic
#2D78BC #BC2D78 #78BC2D
tetradic
#2D78BC #B82DBC #BC712D #31BC2D
square
#2D78BC #B82DBC #BC712D #31BC2D
split-complementary
#2D78BC #BC2D31 #BCB82D
monochromatic
#153959 #21588B #2D78BC #5196D5 #82B4E1

Accessibility & contrast

On white

4.64
#2D78BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D78BC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D78BC#FFFFFF#000000##FFFFFF
##2D78BC1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#587CBF
Deuteranopia (green-blind)
#436FBB
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d78bc;
/* rgb */ color: rgb(45, 120, 188);
/* oklch */ color: oklch(56.0% 0.128 249.5);
Tailwind
colors: {
  custom: {
    50: '#7a9ed0',
    500: '#2d78bc',
    950: '#000000',
  },
}
SCSS
$custom: #2d78bc;
$custom-light: #7a9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d78bc",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 208.531,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55984,
    "c": 0.12844,
    "h": 249.5
  },
  "luminance": 0.17622
}

Semantic roles & 50–950 ramp

primary
#2D78BC
secondary
#CAA07B
accent
#9043E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2D78BC

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

Preview Lab → · Contrast checker → · Palette generator →

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