#2E78A2#2E78A2

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

Color values

HEX#2E78A2
RGBrgb(46, 120, 162)
HSLhsl(202, 56%, 41%)
HSVhsv(202, 72%, 64%)
CMYKcmyk(71.6%, 25.9%, 0%, 36.5%)
CIE-LABlab(47.78, -8.59, -29.13)
CIE-LCHlch(47.78, 30.37, 253.57°)
OKLaboklab(54.58% -0.0524 -0.082)
OKLCHoklch(54.58% 0.097 237.4)
XYZxyz(14.3622, 16.6208, 36.6266)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E78A2 #A2582E
analogous
#2EA292 #2E78A2 #2E3EA2
triadic
#2E78A2 #A22E78 #78A22E
tetradic
#2E78A2 #922EA2 #A2582E #3EA22E
square
#2E78A2 #922EA2 #A2582E #3EA22E
split-complementary
#2E78A2 #A22E3E #A2922E
monochromatic
#133143 #205572 #2E78A2 #4399CA #73B3D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E78A2#FFFFFF#000000##FFFFFF
##2E78A21.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)
#6478A4
Deuteranopia (green-blind)
#546CA1
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e78a2;
/* rgb */ color: rgb(46, 120, 162);
/* oklch */ color: oklch(54.6% 0.097 237.4);
Tailwind
colors: {
  custom: {
    50: '#769ebd',
    500: '#2e78a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e78a2;
$custom-light: #769ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e78a2",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 162
  },
  "hsl": {
    "h": 201.724,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54583,
    "c": 0.09738,
    "h": 237.4
  },
  "luminance": 0.16622
}

Semantic roles & 50–950 ramp

primary
#2E78A2
secondary
#BF8B6D
accent
#7F49DF
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2E78A2

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

Preview Lab → · Contrast checker → · Palette generator →

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