#2B78AB#2B78AB

#2B78AB is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 55.0% C 0.109 H 241.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2B78AB
RGBrgb(43, 120, 171)
HSLhsl(204, 60%, 42%)
HSVhsv(204, 75%, 67%)
CMYKcmyk(74.9%, 29.8%, 0%, 32.9%)
CIE-LABlab(48.11, -5.79, -33.86)
CIE-LCHlch(48.11, 34.36, 260.29°)
OKLaboklab(54.96% -0.0511 -0.0958)
OKLCHoklch(54.96% 0.109 241.9)
XYZxyz(15.0606, 16.8851, 40.9856)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B78AB #AB5E2B
analogous
#2BAB9E #2B78AB #2B38AB
triadic
#2B78AB #AB2B78 #78AB2B
tetradic
#2B78AB #9E2BAB #AB5E2B #38AB2B
square
#2B78AB #9E2BAB #AB5E2B #38AB2B
split-complementary
#2B78AB #AB2B38 #AB9E2B
monochromatic
#123349 #1F567A #2B78AB #4398D0 #74B3DC

Accessibility & contrast

On white

4.80
#2B78AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2B78AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B78AB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B78AB#FFFFFF#000000##FFFFFF
##2B78AB1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6079AD
Deuteranopia (green-blind)
#4F6DAA
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b78ab;
/* rgb */ color: rgb(43, 120, 171);
/* oklch */ color: oklch(55.0% 0.109 241.9);
Tailwind
colors: {
  custom: {
    50: '#769ec4',
    500: '#2b78ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b78ab;
$custom-light: #769ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b78ab",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 171
  },
  "hsl": {
    "h": 203.906,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.54964,
    "c": 0.10859,
    "h": 241.9
  },
  "luminance": 0.16887
}

Semantic roles & 50–950 ramp

primary
#2B78AB
secondary
#C4906E
accent
#8445E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2B78AB

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

Preview Lab → · Contrast checker → · Palette generator →

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