#2B78A4#2B78A4

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

Color values

HEX#2B78A4
RGBrgb(43, 120, 164)
HSLhsl(202, 58%, 41%)
HSVhsv(202, 74%, 64%)
CMYKcmyk(73.8%, 26.8%, 0%, 35.7%)
CIE-LABlab(47.78, -8.32, -30.30)
CIE-LCHlch(47.78, 31.42, 254.65°)
OKLaboklab(54.59% -0.0534 -0.0855)
OKLCHoklch(54.59% 0.101 238)
XYZxyz(14.4109, 16.6252, 37.5642)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B78A4 #A4572B
analogous
#2BA493 #2B78A4 #2B3CA4
triadic
#2B78A4 #A42B78 #78A42B
tetradic
#2B78A4 #932BA4 #A4572B #3CA42B
square
#2B78A4 #932BA4 #A4572B #3CA42B
split-complementary
#2B78A4 #A42B3C #A4932B
monochromatic
#123143 #1E5574 #2B78A4 #3F99CD #70B3D9

Accessibility & contrast

On white

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

On black

4.33
#2B78A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B78A4#FFFFFF#000000##FFFFFF
##2B78A41.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6378A6
Deuteranopia (green-blind)
#536CA3
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b78a4;
/* rgb */ color: rgb(43, 120, 164);
/* oklch */ color: oklch(54.6% 0.101 238.0);
Tailwind
colors: {
  custom: {
    50: '#759ebf',
    500: '#2b78a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b78a4;
$custom-light: #759ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b78a4",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 164
  },
  "hsl": {
    "h": 201.818,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54593,
    "c": 0.10079,
    "h": 238
  },
  "luminance": 0.16627
}

Semantic roles & 50–950 ramp

primary
#2B78A4
secondary
#C18A6A
accent
#7F46E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2B78A4

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

Preview Lab → · Contrast checker → · Palette generator →

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