#2B78A8#2B78A8

#2B78A8 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.8% C 0.105 H 240.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2B78A8
RGBrgb(43, 120, 168)
HSLhsl(203, 59%, 41%)
HSVhsv(203, 74%, 66%)
CMYKcmyk(74.4%, 28.6%, 0%, 34.1%)
CIE-LABlab(47.97, -6.88, -32.34)
CIE-LCHlch(47.97, 33.06, 257.99°)
OKLaboklab(54.8% -0.0521 -0.0914)
OKLCHoklch(54.8% 0.105 240.3)
XYZxyz(14.7779, 16.7720, 39.4967)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B78A8 #A85B2B
analogous
#2BA89A #2B78A8 #2B3AA8
triadic
#2B78A8 #A82B78 #78A82B
tetradic
#2B78A8 #9A2BA8 #A85B2B #3AA82B
square
#2B78A8 #9A2BA8 #A85B2B #3AA82B
split-complementary
#2B78A8 #A82B3A #A89A2B
monochromatic
#123247 #1F5577 #2B78A8 #4298CF #72B3DB

Accessibility & contrast

On white

4.82
#2B78A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2B78A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B78A8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B78A8#FFFFFF#000000##FFFFFF
##2B78A81.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6278AA
Deuteranopia (green-blind)
#516DA7
Tritanopia (blue-blind)
#008489
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b78a8;
/* rgb */ color: rgb(43, 120, 168);
/* oklch */ color: oklch(54.8% 0.105 240.3);
Tailwind
colors: {
  custom: {
    50: '#769ec2',
    500: '#2b78a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b78a8;
$custom-light: #769ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b78a8",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 168
  },
  "hsl": {
    "h": 203.04,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54803,
    "c": 0.10519,
    "h": 240.3
  },
  "luminance": 0.16774
}

Semantic roles & 50–950 ramp

primary
#2B78A8
secondary
#C28D6C
accent
#8245E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2B78A8

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

Preview Lab → · Contrast checker → · Palette generator →

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