#2D78BA#2D78BA

#2D78BA is a mid, vivid cyan. Relative luminance 0.175; OKLCH L 55.9% C 0.126 H 248.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2D78BA
RGBrgb(45, 120, 186)
HSLhsl(208, 61%, 45%)
HSVhsv(208, 76%, 73%)
CMYKcmyk(75.8%, 35.5%, 0%, 27.1%)
CIE-LABlab(48.93, -0.04, -41.27)
CIE-LCHlch(48.93, 41.27, 269.94°)
OKLaboklab(55.87% -0.0455 -0.1174)
OKLCHoklch(55.87% 0.126 248.8)
XYZxyz(16.6582, 17.5341, 48.9513)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D78BA #BA6F2D
analogous
#2DBAB5 #2D78BA #2D32BA
triadic
#2D78BA #BA2D78 #78BA2D
tetradic
#2D78BA #B52DBA #BA6F2D #32BA2D
square
#2D78BA #B52DBA #BA6F2D #32BA2D
split-complementary
#2D78BA #BA2D32 #BAB52D
monochromatic
#153857 #215889 #2D78BA #5096D5 #81B4E0

Accessibility & contrast

On white

4.66
#2D78BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2D78BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D78BA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D78BA#FFFFFF#000000##FFFFFF
##2D78BA1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7BBD
Deuteranopia (green-blind)
#456EB9
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d78ba;
/* rgb */ color: rgb(45, 120, 186);
/* oklch */ color: oklch(55.9% 0.126 248.8);
Tailwind
colors: {
  custom: {
    50: '#7a9ecf',
    500: '#2d78ba',
    950: '#000000',
  },
}
SCSS
$custom: #2d78ba;
$custom-light: #7a9ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d78ba",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 186
  },
  "hsl": {
    "h": 208.085,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55867,
    "c": 0.12593,
    "h": 248.8
  },
  "luminance": 0.17536
}

Semantic roles & 50–950 ramp

primary
#2D78BA
secondary
#C99F79
accent
#8F44E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E14
muted
#7C7E82

Preview Lab

Preview with #2D78BA

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

Preview Lab → · Contrast checker → · Palette generator →

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