#2B78A3#2B78A3

#2B78A3 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.5% C 0.100 H 237.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2B78A3
RGBrgb(43, 120, 163)
HSLhsl(202, 58%, 40%)
HSVhsv(202, 74%, 64%)
CMYKcmyk(73.6%, 26.4%, 0%, 36.1%)
CIE-LABlab(47.74, -8.67, -29.79)
CIE-LCHlch(47.74, 31.02, 253.77°)
OKLaboklab(54.54% -0.0538 -0.084)
OKLCHoklch(54.54% 0.1 237.4)
XYZxyz(14.3210, 16.5892, 37.0905)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B78A3 #A3562B
analogous
#2BA392 #2B78A3 #2B3CA3
triadic
#2B78A3 #A32B78 #78A32B
tetradic
#2B78A3 #922BA3 #A3562B #3CA32B
square
#2B78A3 #922BA3 #A3562B #3CA32B
split-complementary
#2B78A3 #A32B3C #A3922B
monochromatic
#113142 #1E5473 #2B78A3 #3F9ACC #6FB3D9

Accessibility & contrast

On white

4.86
#2B78A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2B78A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B78A3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B78A3#FFFFFF#000000##FFFFFF
##2B78A31.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6478A5
Deuteranopia (green-blind)
#536CA2
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b78a3;
/* rgb */ color: rgb(43, 120, 163);
/* oklch */ color: oklch(54.5% 0.100 237.4);
Tailwind
colors: {
  custom: {
    50: '#759ebe',
    500: '#2b78a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b78a3;
$custom-light: #759ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b78a3",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 163
  },
  "hsl": {
    "h": 201.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.54542,
    "c": 0.09973,
    "h": 237.4
  },
  "luminance": 0.16591
}

Semantic roles & 50–950 ramp

primary
#2B78A3
secondary
#C0896A
accent
#7E46E1
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2B78A3

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

Preview Lab → · Contrast checker → · Palette generator →

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