#2B78AC#2B78AC

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

Color values

HEX#2B78AC
RGBrgb(43, 120, 172)
HSLhsl(204, 60%, 42%)
HSVhsv(204, 75%, 67%)
CMYKcmyk(75%, 30.2%, 0%, 32.5%)
CIE-LABlab(48.16, -5.43, -34.37)
CIE-LCHlch(48.16, 34.80, 261.02°)
OKLaboklab(55.02% -0.0508 -0.0973)
OKLCHoklch(55.02% 0.11 242.4)
XYZxyz(15.1562, 16.9233, 41.4895)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B78AC #AC5F2B
analogous
#2BACA0 #2B78AC #2B38AC
triadic
#2B78AC #AC2B78 #78AC2B
tetradic
#2B78AC #A02BAC #AC5F2B #38AC2B
square
#2B78AC #A02BAC #AC5F2B #38AC2B
split-complementary
#2B78AC #AC2B38 #ACA02B
monochromatic
#13344A #1F567B #2B78AC #4498D0 #75B3DC

Accessibility & contrast

On white

4.79
#2B78AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2B78AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B78AC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B78AC#FFFFFF#000000##FFFFFF
##2B78AC1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b78ac;
/* rgb */ color: rgb(43, 120, 172);
/* oklch */ color: oklch(55.0% 0.110 242.4);
Tailwind
colors: {
  custom: {
    50: '#769ec5',
    500: '#2b78ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b78ac;
$custom-light: #769ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b78ac",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 172
  },
  "hsl": {
    "h": 204.186,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55018,
    "c": 0.10975,
    "h": 242.4
  },
  "luminance": 0.16925
}

Semantic roles & 50–950 ramp

primary
#2B78AC
secondary
#C4916F
accent
#8545E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2B78AC

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

Preview Lab → · Contrast checker → · Palette generator →

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