#2E78A3#2E78A3

#2E78A3 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.6% C 0.098 H 238.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2E78A3
RGBrgb(46, 120, 163)
HSLhsl(202, 56%, 41%)
HSVhsv(202, 72%, 64%)
CMYKcmyk(71.8%, 26.4%, 0%, 36.1%)
CIE-LABlab(47.82, -8.24, -29.64)
CIE-LCHlch(47.82, 30.77, 254.47°)
OKLaboklab(54.63% -0.0521 -0.0835)
OKLCHoklch(54.63% 0.098 238.1)
XYZxyz(14.4515, 16.6565, 37.0966)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E78A3 #A3592E
analogous
#2EA393 #2E78A3 #2E3DA3
triadic
#2E78A3 #A32E78 #78A32E
tetradic
#2E78A3 #932EA3 #A3592E #3DA32E
square
#2E78A3 #932EA3 #A3592E #3DA32E
split-complementary
#2E78A3 #A32E3D #A3932E
monochromatic
#133244 #215573 #2E78A3 #4499CA #74B3D8

Accessibility & contrast

On white

4.85
#2E78A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2E78A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E78A3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E78A3#FFFFFF#000000##FFFFFF
##2E78A31.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6478A5
Deuteranopia (green-blind)
#546CA2
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e78a3;
/* rgb */ color: rgb(46, 120, 163);
/* oklch */ color: oklch(54.6% 0.098 238.1);
Tailwind
colors: {
  custom: {
    50: '#769ebe',
    500: '#2e78a3',
    950: '#000000',
  },
}
SCSS
$custom: #2e78a3;
$custom-light: #769ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#2e78a3",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 163
  },
  "hsl": {
    "h": 202.051,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54634,
    "c": 0.09845,
    "h": 238.1
  },
  "luminance": 0.16658
}

Semantic roles & 50–950 ramp

primary
#2E78A3
secondary
#BF8C6D
accent
#8049DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2E78A3

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

Preview Lab → · Contrast checker → · Palette generator →

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