#2B78CE#2B78CE

#2B78CE is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 57.0% C 0.152 H 254.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2B78CE
RGBrgb(43, 120, 206)
HSLhsl(212, 65%, 49%)
HSVhsv(212, 79%, 81%)
CMYKcmyk(79.1%, 41.7%, 0%, 19.2%)
CIE-LABlab(49.98, 7.19, -51.06)
CIE-LCHlch(49.98, 51.57, 278.01°)
OKLaboklab(57.03% -0.0417 -0.1461)
OKLCHoklch(57.03% 0.152 254.1)
XYZxyz(18.8491, 18.4005, 60.9388)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B78CE #CE812B
analogous
#2BCACE #2B78CE #2F2BCE
triadic
#2B78CE #CE2B78 #78CE2B
tetradic
#2B78CE #CE2BCA #CE812B #2BCE2F
square
#2B78CE #CE2BCA #CE812B #2BCE2F
split-complementary
#2B78CE #CE2F2B #CACE2B
monochromatic
#163D69 #205B9B #2B78CE #5A97DC #8CB7E7

Accessibility & contrast

On white

4.49
#2B78CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2B78CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B78CE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B78CE#FFFFFF#000000##000000
##2B78CE1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7FD1
Deuteranopia (green-blind)
#3070CC
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b78ce;
/* rgb */ color: rgb(43, 120, 206);
/* oklch */ color: oklch(57.0% 0.152 254.1);
Tailwind
colors: {
  custom: {
    50: '#7d9edd',
    500: '#2b78ce',
    950: '#000000',
  },
}
SCSS
$custom: #2b78ce;
$custom-light: #7d9edd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b78ce",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 211.656,
    "s": 65.462,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57034,
    "c": 0.15198,
    "h": 254.1
  },
  "luminance": 0.18403
}

Semantic roles & 50–950 ramp

primary
#2B78CE
secondary
#D1AD84
accent
#993FE8
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2B78CE

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

Preview Lab → · Contrast checker → · Palette generator →

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