#2B78A7#2B78A7

#2B78A7 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.8% C 0.104 H 239.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2B78A7
RGBrgb(43, 120, 167)
HSLhsl(203, 59%, 41%)
HSVhsv(203, 74%, 65%)
CMYKcmyk(74.3%, 28.1%, 0%, 34.5%)
CIE-LABlab(47.92, -7.24, -31.83)
CIE-LCHlch(47.92, 32.64, 257.19°)
OKLaboklab(54.75% -0.0524 -0.0899)
OKLCHoklch(54.75% 0.104 239.8)
XYZxyz(14.6851, 16.7349, 39.0079)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B78A7 #A75A2B
analogous
#2BA798 #2B78A7 #2B3AA7
triadic
#2B78A7 #A72B78 #78A72B
tetradic
#2B78A7 #982BA7 #A75A2B #3AA72B
square
#2B78A7 #982BA7 #A75A2B #3AA72B
split-complementary
#2B78A7 #A72B3A #A7982B
monochromatic
#123246 #1E5576 #2B78A7 #4199CE #72B3DB

Accessibility & contrast

On white

4.83
#2B78A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B78A7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B78A7#FFFFFF#000000##FFFFFF
##2B78A71.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6278A9
Deuteranopia (green-blind)
#516CA6
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b78a7;
/* rgb */ color: rgb(43, 120, 167);
/* oklch */ color: oklch(54.8% 0.104 239.8);
Tailwind
colors: {
  custom: {
    50: '#759ec1',
    500: '#2b78a7',
    950: '#000000',
  },
}
SCSS
$custom: #2b78a7;
$custom-light: #759ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b78a7",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 167
  },
  "hsl": {
    "h": 202.742,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5475,
    "c": 0.10408,
    "h": 239.8
  },
  "luminance": 0.16737
}

Semantic roles & 50–950 ramp

primary
#2B78A7
secondary
#C28C6C
accent
#8146E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2B78A7

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

Preview Lab → · Contrast checker → · Palette generator →

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