#2D78B9#2D78B9

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

Color values

HEX#2D78B9
RGBrgb(45, 120, 185)
HSLhsl(208, 61%, 45%)
HSVhsv(208, 76%, 73%)
CMYKcmyk(75.7%, 35.1%, 0%, 27.5%)
CIE-LABlab(48.87, -0.41, -40.78)
CIE-LCHlch(48.87, 40.78, 269.42°)
OKLaboklab(55.81% -0.0458 -0.116)
OKLCHoklch(55.81% 0.125 248.4)
XYZxyz(16.5523, 17.4917, 48.3934)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D78B9 #B96E2D
analogous
#2DB9B4 #2D78B9 #2D32B9
triadic
#2D78B9 #B92D78 #78B92D
tetradic
#2D78B9 #B42DB9 #B96E2D #32B92D
square
#2D78B9 #B42DB9 #B96E2D #32B92D
split-complementary
#2D78B9 #B92D32 #B9B42D
monochromatic
#153857 #215888 #2D78B9 #4F96D4 #80B4E0

Accessibility & contrast

On white

4.67
#2D78B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2D78B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D78B9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D78B9#FFFFFF#000000##FFFFFF
##2D78B91.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7BBC
Deuteranopia (green-blind)
#466EB8
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d78b9;
/* rgb */ color: rgb(45, 120, 185);
/* oklch */ color: oklch(55.8% 0.125 248.4);
Tailwind
colors: {
  custom: {
    50: '#799ece',
    500: '#2d78b9',
    950: '#000000',
  },
}
SCSS
$custom: #2d78b9;
$custom-light: #799ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2d78b9",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 185
  },
  "hsl": {
    "h": 207.857,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55809,
    "c": 0.12469,
    "h": 248.4
  },
  "luminance": 0.17494
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D78B9

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

Preview Lab → · Contrast checker → · Palette generator →

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