#2E78B8#2E78B8

#2E78B8 is a mid, vivid cyan. Relative luminance 0.175; OKLCH L 55.8% C 0.123 H 248.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2E78B8
RGBrgb(46, 120, 184)
HSLhsl(208, 60%, 45%)
HSVhsv(208, 75%, 72%)
CMYKcmyk(75%, 34.8%, 0%, 27.8%)
CIE-LABlab(48.85, -0.65, -40.24)
CIE-LCHlch(48.85, 40.24, 269.07°)
OKLaboklab(55.78% -0.0455 -0.1144)
OKLCHoklch(55.78% 0.123 248.3)
XYZxyz(16.4916, 17.4726, 47.8415)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E78B8 #B86E2E
analogous
#2EB8B3 #2E78B8 #2E33B8
triadic
#2E78B8 #B82E78 #78B82E
tetradic
#2E78B8 #B32EB8 #B86E2E #33B82E
square
#2E78B8 #B32EB8 #B86E2E #33B82E
split-complementary
#2E78B8 #B82E33 #B8B32E
monochromatic
#163856 #225887 #2E78B8 #5096D3 #81B4DF

Accessibility & contrast

On white

4.67
#2E78B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2E78B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E78B8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E78B8#FFFFFF#000000##FFFFFF
##2E78B81.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B7BBB
Deuteranopia (green-blind)
#476EB7
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2e78b8;
/* rgb */ color: rgb(46, 120, 184);
/* oklch */ color: oklch(55.8% 0.123 248.3);
Tailwind
colors: {
  custom: {
    50: '#7a9ecd',
    500: '#2e78b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e78b8;
$custom-light: #7a9ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e78b8",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 184
  },
  "hsl": {
    "h": 207.826,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55781,
    "c": 0.12309,
    "h": 248.3
  },
  "luminance": 0.17474
}

Semantic roles & 50–950 ramp

primary
#2E78B8
secondary
#C89E79
accent
#8E45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2E78B8

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

Preview Lab → · Contrast checker → · Palette generator →

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