#2E78AB#2E78AB

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

Color values

HEX#2E78AB
RGBrgb(46, 120, 171)
HSLhsl(204, 58%, 43%)
HSVhsv(204, 73%, 67%)
CMYKcmyk(73.1%, 29.8%, 0%, 32.9%)
CIE-LABlab(48.20, -5.38, -33.72)
CIE-LCHlch(48.20, 34.15, 260.94°)
OKLaboklab(55.06% -0.0494 -0.0954)
OKLCHoklch(55.06% 0.107 242.6)
XYZxyz(15.1910, 16.9523, 40.9917)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E78AB #AB612E
analogous
#2EABA0 #2E78AB #2E39AB
triadic
#2E78AB #AB2E78 #78AB2E
tetradic
#2E78AB #A02EAB #AB612E #39AB2E
square
#2E78AB #A02EAB #AB612E #39AB2E
split-complementary
#2E78AB #AB2E39 #ABA02E
monochromatic
#14344B #21567B #2E78AB #4897CE #79B3DB

Accessibility & contrast

On white

4.78
#2E78AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2E78AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E78AB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E78AB#FFFFFF#000000##FFFFFF
##2E78AB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6179AD
Deuteranopia (green-blind)
#4F6DAA
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2e78ab;
/* rgb */ color: rgb(46, 120, 171);
/* oklch */ color: oklch(55.1% 0.107 242.6);
Tailwind
colors: {
  custom: {
    50: '#779ec4',
    500: '#2e78ab',
    950: '#000000',
  },
}
SCSS
$custom: #2e78ab;
$custom-light: #779ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e78ab",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 171
  },
  "hsl": {
    "h": 204.48,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55056,
    "c": 0.10742,
    "h": 242.6
  },
  "luminance": 0.16954
}

Semantic roles & 50–950 ramp

primary
#2E78AB
secondary
#C39372
accent
#8647E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2E78AB

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

Preview Lab → · Contrast checker → · Palette generator →

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