#2A78B5#2A78B5

#2A78B5 is a mid, vivid cyan. Relative luminance 0.173; OKLCH L 55.5% C 0.121 H 246.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2A78B5
RGBrgb(42, 120, 181)
HSLhsl(206, 62%, 44%)
HSVhsv(206, 77%, 71%)
CMYKcmyk(76.8%, 33.7%, 0%, 29%)
CIE-LABlab(48.59, -2.26, -38.93)
CIE-LCHlch(48.59, 38.99, 266.68°)
OKLaboklab(55.49% -0.0486 -0.1106)
OKLCHoklch(55.49% 0.121 246.3)
XYZxyz(16.0086, 17.2595, 46.1948)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A78B5 #B5672A
analogous
#2AB5AC #2A78B5 #2A32B5
triadic
#2A78B5 #B52A78 #78B52A
tetradic
#2A78B5 #AC2AB5 #B5672A #32B52A
square
#2A78B5 #AC2AB5 #B5672A #32B52A
split-complementary
#2A78B5 #B52A32 #B5AC2A
monochromatic
#133652 #1E5783 #2A78B5 #4897D4 #79B3E0

Accessibility & contrast

On white

4.72
#2A78B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2A78B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A78B5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A78B5#FFFFFF#000000##FFFFFF
##2A78B51.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7AB8
Deuteranopia (green-blind)
#486EB4
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a78b5;
/* rgb */ color: rgb(42, 120, 181);
/* oklch */ color: oklch(55.5% 0.121 246.3);
Tailwind
colors: {
  custom: {
    50: '#789ecb',
    500: '#2a78b5',
    950: '#000000',
  },
}
SCSS
$custom: #2a78b5;
$custom-light: #789ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a78b5",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 181
  },
  "hsl": {
    "h": 206.331,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55491,
    "c": 0.12078,
    "h": 246.3
  },
  "luminance": 0.17261
}

Semantic roles & 50–950 ramp

primary
#2A78B5
secondary
#C89873
accent
#8A42E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A78B5

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

Preview Lab → · Contrast checker → · Palette generator →

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