#2E78AC#2E78AC

#2E78AC is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.1% C 0.109 H 243.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2E78AC
RGBrgb(46, 120, 172)
HSLhsl(205, 58%, 43%)
HSVhsv(205, 73%, 67%)
CMYKcmyk(73.3%, 30.2%, 0%, 32.5%)
CIE-LABlab(48.25, -5.02, -34.23)
CIE-LCHlch(48.25, 34.60, 261.66°)
OKLaboklab(55.11% -0.0491 -0.0968)
OKLCHoklch(55.11% 0.109 243.1)
XYZxyz(15.2867, 16.9906, 41.4956)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E78AC #AC622E
analogous
#2EACA1 #2E78AC #2E39AC
triadic
#2E78AC #AC2E78 #78AC2E
tetradic
#2E78AC #A12EAC #AC622E #39AC2E
square
#2E78AC #A12EAC #AC622E #39AC2E
split-complementary
#2E78AC #AC2E39 #ACA12E
monochromatic
#14354B #21567C #2E78AC #4997CE #79B3DB

Accessibility & contrast

On white

4.77
#2E78AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2E78AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E78AC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E78AC#FFFFFF#000000##FFFFFF
##2E78AC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6079AE
Deuteranopia (green-blind)
#4F6DAB
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2e78ac;
/* rgb */ color: rgb(46, 120, 172);
/* oklch */ color: oklch(55.1% 0.109 243.1);
Tailwind
colors: {
  custom: {
    50: '#779ec5',
    500: '#2e78ac',
    950: '#000000',
  },
}
SCSS
$custom: #2e78ac;
$custom-light: #779ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e78ac",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 172
  },
  "hsl": {
    "h": 204.762,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5511,
    "c": 0.10859,
    "h": 243.1
  },
  "luminance": 0.16992
}

Semantic roles & 50–950 ramp

primary
#2E78AC
secondary
#C39472
accent
#8647E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2E78AC

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

Preview Lab → · Contrast checker → · Palette generator →

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