#2A78B7#2A78B7

#2A78B7 is a mid, vivid cyan. Relative luminance 0.173; OKLCH L 55.6% C 0.123 H 247.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2A78B7
RGBrgb(42, 120, 183)
HSLhsl(207, 63%, 44%)
HSVhsv(207, 77%, 72%)
CMYKcmyk(77%, 34.4%, 0%, 28.2%)
CIE-LABlab(48.69, -1.52, -39.92)
CIE-LCHlch(48.69, 39.95, 267.82°)
OKLaboklab(55.61% -0.048 -0.1135)
OKLCHoklch(55.61% 0.123 247.1)
XYZxyz(16.2153, 17.3422, 47.2833)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A78B7 #B7692A
analogous
#2AB7B0 #2A78B7 #2A31B7
triadic
#2A78B7 #B72A78 #78B72A
tetradic
#2A78B7 #B02AB7 #B7692A #31B72A
square
#2A78B7 #B02AB7 #B7692A #31B72A
split-complementary
#2A78B7 #B72A31 #B7B02A
monochromatic
#133753 #1F5785 #2A78B7 #4997D5 #7BB3E1

Accessibility & contrast

On white

4.70
#2A78B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2A78B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A78B7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A78B7#FFFFFF#000000##FFFFFF
##2A78B71.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B7BBA
Deuteranopia (green-blind)
#476EB6
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a78b7;
/* rgb */ color: rgb(42, 120, 183);
/* oklch */ color: oklch(55.6% 0.123 247.1);
Tailwind
colors: {
  custom: {
    50: '#789ecd',
    500: '#2a78b7',
    950: '#000000',
  },
}
SCSS
$custom: #2a78b7;
$custom-light: #789ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a78b7",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 183
  },
  "hsl": {
    "h": 206.809,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.12323,
    "h": 247.1
  },
  "luminance": 0.17344
}

Semantic roles & 50–950 ramp

primary
#2A78B7
secondary
#C99A74
accent
#8B42E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A78B7

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

Preview Lab → · Contrast checker → · Palette generator →

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