#2E78B6#2E78B6

#2E78B6 is a mid, vivid cyan. Relative luminance 0.174; OKLCH L 55.7% C 0.121 H 247.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2E78B6
RGBrgb(46, 120, 182)
HSLhsl(207, 60%, 45%)
HSVhsv(207, 75%, 71%)
CMYKcmyk(74.7%, 34.1%, 0%, 28.6%)
CIE-LABlab(48.75, -1.38, -39.24)
CIE-LCHlch(48.75, 39.27, 267.98°)
OKLaboklab(55.67% -0.0461 -0.1115)
OKLCHoklch(55.67% 0.121 247.5)
XYZxyz(16.2835, 17.3893, 46.7452)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E78B6 #B66C2E
analogous
#2EB6B0 #2E78B6 #2E34B6
triadic
#2E78B6 #B62E78 #78B62E
tetradic
#2E78B6 #B02EB6 #B66C2E #34B62E
square
#2E78B6 #B02EB6 #B66C2E #34B62E
split-complementary
#2E78B6 #B62E34 #B6B02E
monochromatic
#153854 #225885 #2E78B6 #4F96D2 #80B3DF

Accessibility & contrast

On white

4.69
#2E78B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2E78B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E78B6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E78B6#FFFFFF#000000##FFFFFF
##2E78B61.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7BB9
Deuteranopia (green-blind)
#486EB5
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2e78b6;
/* rgb */ color: rgb(46, 120, 182);
/* oklch */ color: oklch(55.7% 0.121 247.5);
Tailwind
colors: {
  custom: {
    50: '#799ecc',
    500: '#2e78b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e78b6;
$custom-light: #799ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e78b6",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 182
  },
  "hsl": {
    "h": 207.353,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55666,
    "c": 0.12062,
    "h": 247.5
  },
  "luminance": 0.17391
}

Semantic roles & 50–950 ramp

primary
#2E78B6
secondary
#C89C78
accent
#8D45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2E78B6

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

Preview Lab → · Contrast checker → · Palette generator →

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