#2B78A1#2B78A1

#2B78A1 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.4% C 0.098 H 236.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2B78A1
RGBrgb(43, 120, 161)
HSLhsl(201, 58%, 40%)
HSVhsv(201, 73%, 63%)
CMYKcmyk(73.3%, 25.5%, 0%, 36.9%)
CIE-LABlab(47.65, -9.38, -28.76)
CIE-LCHlch(47.65, 30.25, 251.93°)
OKLaboklab(54.44% -0.0545 -0.081)
OKLCHoklch(54.44% 0.098 236.1)
XYZxyz(14.1432, 16.5181, 36.1542)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B78A1 #A1542B
analogous
#2BA18F #2B78A1 #2B3DA1
triadic
#2B78A1 #A12B78 #78A12B
tetradic
#2B78A1 #8F2BA1 #A1542B #3DA12B
square
#2B78A1 #8F2BA1 #A1542B #3DA12B
split-complementary
#2B78A1 #A12B3D #A18F2B
monochromatic
#113040 #1E5471 #2B78A1 #3E9ACB #6EB3D8

Accessibility & contrast

On white

4.88
#2B78A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2B78A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B78A1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B78A1#FFFFFF#000000##FFFFFF
##2B78A11.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6477A3
Deuteranopia (green-blind)
#546CA0
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b78a1;
/* rgb */ color: rgb(43, 120, 161);
/* oklch */ color: oklch(54.4% 0.098 236.1);
Tailwind
colors: {
  custom: {
    50: '#749ebd',
    500: '#2b78a1',
    950: '#000000',
  },
}
SCSS
$custom: #2b78a1;
$custom-light: #749ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b78a1",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 161
  },
  "hsl": {
    "h": 200.847,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.54439,
    "c": 0.09762,
    "h": 236.1
  },
  "luminance": 0.1652
}

Semantic roles & 50–950 ramp

primary
#2B78A1
secondary
#BF8769
accent
#7C47E1
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2B78A1

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

Preview Lab → · Contrast checker → · Palette generator →

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