#2B78A9#2B78A9

#2B78A9 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.9% C 0.106 H 240.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2B78A9
RGBrgb(43, 120, 169)
HSLhsl(203, 59%, 42%)
HSVhsv(203, 75%, 66%)
CMYKcmyk(74.6%, 29%, 0%, 33.7%)
CIE-LABlab(48.02, -6.52, -32.85)
CIE-LCHlch(48.02, 33.49, 258.78°)
OKLaboklab(54.86% -0.0518 -0.0929)
OKLCHoklch(54.86% 0.106 240.9)
XYZxyz(14.8714, 16.8094, 39.9892)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B78A9 #A95C2B
analogous
#2BA99B #2B78A9 #2B39A9
triadic
#2B78A9 #A92B78 #78A92B
tetradic
#2B78A9 #9B2BA9 #A95C2B #39A92B
square
#2B78A9 #9B2BA9 #A95C2B #39A92B
split-complementary
#2B78A9 #A92B39 #A99B2B
monochromatic
#123347 #1F5578 #2B78A9 #4298CF #73B3DB

Accessibility & contrast

On white

4.81
#2B78A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2B78A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B78A9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B78A9#FFFFFF#000000##FFFFFF
##2B78A91.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6179AB
Deuteranopia (green-blind)
#506DA8
Tritanopia (blue-blind)
#008489
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b78a9;
/* rgb */ color: rgb(43, 120, 169);
/* oklch */ color: oklch(54.9% 0.106 240.9);
Tailwind
colors: {
  custom: {
    50: '#769ec3',
    500: '#2b78a9',
    950: '#000000',
  },
}
SCSS
$custom: #2b78a9;
$custom-light: #769ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b78a9",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 169
  },
  "hsl": {
    "h": 203.333,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54857,
    "c": 0.10632,
    "h": 240.9
  },
  "luminance": 0.16811
}

Semantic roles & 50–950 ramp

primary
#2B78A9
secondary
#C38E6D
accent
#8245E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2B78A9

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

Preview Lab → · Contrast checker → · Palette generator →

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