#2E78AA#2E78AA

#2E78AA is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 55.0% C 0.106 H 242.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2E78AA
RGBrgb(46, 120, 170)
HSLhsl(204, 57%, 42%)
HSVhsv(204, 73%, 67%)
CMYKcmyk(72.9%, 29.4%, 0%, 33.3%)
CIE-LABlab(48.15, -5.74, -33.22)
CIE-LCHlch(48.15, 33.71, 260.20°)
OKLaboklab(55% -0.0498 -0.0939)
OKLCHoklch(55% 0.106 242.1)
XYZxyz(15.0961, 16.9144, 40.4916)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E78AA #AA602E
analogous
#2EAA9E #2E78AA #2E3AAA
triadic
#2E78AA #AA2E78 #78AA2E
tetradic
#2E78AA #9E2EAA #AA602E #3AAA2E
square
#2E78AA #9E2EAA #AA602E #3AAA2E
split-complementary
#2E78AA #AA2E3A #AA9E2E
monochromatic
#14344A #21567A #2E78AA #4898CD #78B3DA

Accessibility & contrast

On white

4.79
#2E78AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2E78AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E78AA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E78AA#FFFFFF#000000##FFFFFF
##2E78AA1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6179AC
Deuteranopia (green-blind)
#506DA9
Tritanopia (blue-blind)
#008489
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2e78aa;
/* rgb */ color: rgb(46, 120, 170);
/* oklch */ color: oklch(55.0% 0.106 242.1);
Tailwind
colors: {
  custom: {
    50: '#779ec3',
    500: '#2e78aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e78aa;
$custom-light: #779ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e78aa",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 170
  },
  "hsl": {
    "h": 204.194,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55002,
    "c": 0.10627,
    "h": 242.1
  },
  "luminance": 0.16916
}

Semantic roles & 50–950 ramp

primary
#2E78AA
secondary
#C39271
accent
#8547E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2E78AA

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

Preview Lab → · Contrast checker → · Palette generator →

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