#2E78BB#2E78BB

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

Color values

HEX#2E78BB
RGBrgb(46, 120, 187)
HSLhsl(209, 61%, 46%)
HSVhsv(209, 75%, 73%)
CMYKcmyk(75.4%, 35.8%, 0%, 26.7%)
CIE-LABlab(49.01, 0.45, -41.72)
CIE-LCHlch(49.01, 41.72, 270.62°)
OKLaboklab(55.96% -0.0447 -0.1187)
OKLCHoklch(55.96% 0.127 249.4)
XYZxyz(16.8094, 17.5997, 49.5152)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E78BB #BB712E
analogous
#2EBBB7 #2E78BB #2E31BB
triadic
#2E78BB #BB2E78 #78BB2E
tetradic
#2E78BB #B72EBB #BB712E #31BB2E
square
#2E78BB #B72EBB #BB712E #31BB2E
split-complementary
#2E78BB #BB2E31 #BBB72E
monochromatic
#163959 #22588A #2E78BB #5296D4 #83B4E0

Accessibility & contrast

On white

4.65
#2E78BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2E78BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2E78BB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E78BB#FFFFFF#000000##FFFFFF
##2E78BB1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#597CBE
Deuteranopia (green-blind)
#446FBA
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2e78bb;
/* rgb */ color: rgb(46, 120, 187);
/* oklch */ color: oklch(56.0% 0.127 249.4);
Tailwind
colors: {
  custom: {
    50: '#7a9ed0',
    500: '#2e78bb',
    950: '#000000',
  },
}
SCSS
$custom: #2e78bb;
$custom-light: #7a9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e78bb",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 208.511,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55956,
    "c": 0.12684,
    "h": 249.4
  },
  "luminance": 0.17602
}

Semantic roles & 50–950 ramp

primary
#2E78BB
secondary
#CAA07B
accent
#9044E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2E78BB

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

Preview Lab → · Contrast checker → · Palette generator →

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