#2E78A1#2E78A1

#2E78A1 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.5% C 0.096 H 236.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2E78A1
RGBrgb(46, 120, 161)
HSLhsl(201, 56%, 41%)
HSVhsv(201, 71%, 63%)
CMYKcmyk(71.4%, 25.5%, 0%, 36.9%)
CIE-LABlab(47.73, -8.94, -28.62)
CIE-LCHlch(47.73, 29.98, 252.64°)
OKLaboklab(54.53% -0.0528 -0.0806)
OKLCHoklch(54.53% 0.096 236.8)
XYZxyz(14.2737, 16.5854, 36.1603)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E78A1 #A1572E
analogous
#2EA190 #2E78A1 #2E3EA1
triadic
#2E78A1 #A12E78 #78A12E
tetradic
#2E78A1 #902EA1 #A1572E #3EA12E
square
#2E78A1 #902EA1 #A1572E #3EA12E
split-complementary
#2E78A1 #A12E3E #A1902E
monochromatic
#133142 #205571 #2E78A1 #4399C9 #73B3D7

Accessibility & contrast

On white

4.86
#2E78A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2E78A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E78A1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E78A1#FFFFFF#000000##FFFFFF
##2E78A11.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6578A3
Deuteranopia (green-blind)
#556CA0
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e78a1;
/* rgb */ color: rgb(46, 120, 161);
/* oklch */ color: oklch(54.5% 0.096 236.8);
Tailwind
colors: {
  custom: {
    50: '#759ebd',
    500: '#2e78a1',
    950: '#000000',
  },
}
SCSS
$custom: #2e78a1;
$custom-light: #759ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e78a1",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 161
  },
  "hsl": {
    "h": 201.391,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.09632,
    "h": 236.8
  },
  "luminance": 0.16587
}

Semantic roles & 50–950 ramp

primary
#2E78A1
secondary
#BE8A6C
accent
#7E49DF
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2E78A1

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

Preview Lab → · Contrast checker → · Palette generator →

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