#2E78B1#2E78B1

#2E78B1 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.4% C 0.115 H 245.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2E78B1
RGBrgb(46, 120, 177)
HSLhsl(206, 59%, 44%)
HSVhsv(206, 74%, 69%)
CMYKcmyk(74%, 32.2%, 0%, 30.6%)
CIE-LABlab(48.49, -3.21, -36.75)
CIE-LCHlch(48.49, 36.89, 265.01°)
OKLaboklab(55.38% -0.0476 -0.1042)
OKLCHoklch(55.38% 0.115 245.5)
XYZxyz(15.7760, 17.1863, 44.0723)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E78B1 #B1672E
analogous
#2EB1A8 #2E78B1 #2E36B1
triadic
#2E78B1 #B12E78 #78B12E
tetradic
#2E78B1 #A82EB1 #B1672E #36B12E
square
#2E78B1 #A82EB1 #B1672E #36B12E
split-complementary
#2E78B1 #B12E36 #B1A82E
monochromatic
#153650 #215780 #2E78B1 #4C97D0 #7CB3DD

Accessibility & contrast

On white

4.73
#2E78B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2E78B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E78B1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E78B1#FFFFFF#000000##FFFFFF
##2E78B11.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7AB3
Deuteranopia (green-blind)
#4C6EB0
Tritanopia (blue-blind)
#00868C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2e78b1;
/* rgb */ color: rgb(46, 120, 177);
/* oklch */ color: oklch(55.4% 0.115 245.5);
Tailwind
colors: {
  custom: {
    50: '#789ec8',
    500: '#2e78b1',
    950: '#000000',
  },
}
SCSS
$custom: #2e78b1;
$custom-light: #789ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e78b1",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 177
  },
  "hsl": {
    "h": 206.107,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55384,
    "c": 0.11453,
    "h": 245.5
  },
  "luminance": 0.17188
}

Semantic roles & 50–950 ramp

primary
#2E78B1
secondary
#C69875
accent
#8A46E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2E78B1

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

Preview Lab → · Contrast checker → · Palette generator →

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