#2E78BC#2E78BC

#2E78BC is a mid, vivid cyan. Relative luminance 0.176; OKLCH L 56.0% C 0.128 H 249.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2E78BC
RGBrgb(46, 120, 188)
HSLhsl(209, 61%, 46%)
HSVhsv(209, 76%, 74%)
CMYKcmyk(75.5%, 36.2%, 0%, 26.3%)
CIE-LABlab(49.06, 0.82, -42.21)
CIE-LCHlch(49.06, 42.22, 271.12°)
OKLaboklab(56.01% -0.0445 -0.1201)
OKLCHoklch(56.01% 0.128 249.7)
XYZxyz(16.9168, 17.6427, 50.0810)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E78BC #BC722E
analogous
#2EBCB9 #2E78BC #2E31BC
triadic
#2E78BC #BC2E78 #78BC2E
tetradic
#2E78BC #B92EBC #BC722E #31BC2E
square
#2E78BC #B92EBC #BC722E #31BC2E
split-complementary
#2E78BC #BC2E31 #BCB92E
monochromatic
#16395A #22598B #2E78BC #5296D5 #84B4E1

Accessibility & contrast

On white

4.64
#2E78BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2E78BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2E78BC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E78BC#FFFFFF#000000##FFFFFF
##2E78BC1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#597CBF
Deuteranopia (green-blind)
#446FBB
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2e78bc;
/* rgb */ color: rgb(46, 120, 188);
/* oklch */ color: oklch(56.0% 0.128 249.7);
Tailwind
colors: {
  custom: {
    50: '#7a9ed0',
    500: '#2e78bc',
    950: '#000000',
  },
}
SCSS
$custom: #2e78bc;
$custom-light: #7a9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e78bc",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 208.732,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.56014,
    "c": 0.1281,
    "h": 249.7
  },
  "luminance": 0.17645
}

Semantic roles & 50–950 ramp

primary
#2E78BC
secondary
#CAA17C
accent
#9144E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2E78BC

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

Preview Lab → · Contrast checker → · Palette generator →

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