#2E78BA#2E78BA

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

Color values

HEX#2E78BA
RGBrgb(46, 120, 186)
HSLhsl(208, 60%, 45%)
HSVhsv(208, 75%, 73%)
CMYKcmyk(75.3%, 35.5%, 0%, 27.1%)
CIE-LABlab(48.95, 0.09, -41.23)
CIE-LCHlch(48.95, 41.23, 270.12°)
OKLaboklab(55.9% -0.045 -0.1173)
OKLCHoklch(55.9% 0.126 249)
XYZxyz(16.7027, 17.5570, 48.9534)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E78BA #BA702E
analogous
#2EBAB6 #2E78BA #2E32BA
triadic
#2E78BA #BA2E78 #78BA2E
tetradic
#2E78BA #B62EBA #BA702E #32BA2E
square
#2E78BA #B62EBA #BA702E #32BA2E
split-complementary
#2E78BA #BA2E32 #BAB62E
monochromatic
#163958 #225889 #2E78BA #5196D4 #82B4E0

Accessibility & contrast

On white

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

On black

4.51
#2E78BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2E78BA#FFFFFF#000000##FFFFFF
##2E78BA1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7BBD
Deuteranopia (green-blind)
#456EB9
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2e78ba;
/* rgb */ color: rgb(46, 120, 186);
/* oklch */ color: oklch(55.9% 0.126 249.0);
Tailwind
colors: {
  custom: {
    50: '#7a9ecf',
    500: '#2e78ba',
    950: '#000000',
  },
}
SCSS
$custom: #2e78ba;
$custom-light: #7a9ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e78ba",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 186
  },
  "hsl": {
    "h": 208.286,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55897,
    "c": 0.12559,
    "h": 249
  },
  "luminance": 0.17559
}

Semantic roles & 50–950 ramp

primary
#2E78BA
secondary
#C9A07B
accent
#8F44E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2E78BA

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

Preview Lab → · Contrast checker → · Palette generator →

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