#2A78B0#2A78B0

#2A78B0 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.2% C 0.115 H 244.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2A78B0
RGBrgb(42, 120, 176)
HSLhsl(205, 61%, 43%)
HSVhsv(205, 76%, 69%)
CMYKcmyk(76.1%, 31.8%, 0%, 31%)
CIE-LABlab(48.33, -4.10, -36.43)
CIE-LCHlch(48.33, 36.66, 263.58°)
OKLaboklab(55.21% -0.0501 -0.1033)
OKLCHoklch(55.21% 0.115 244.1)
XYZxyz(15.5048, 17.0580, 43.5412)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A78B0 #B0622A
analogous
#2AB0A5 #2A78B0 #2A35B0
triadic
#2A78B0 #B02A78 #78B02A
tetradic
#2A78B0 #A52AB0 #B0622A #35B02A
square
#2A78B0 #A52AB0 #B0622A #35B02A
split-complementary
#2A78B0 #B02A35 #B0A52A
monochromatic
#12354D #1E567F #2A78B0 #4597D3 #76B3DE

Accessibility & contrast

On white

4.76
#2A78B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2A78B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A78B0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A78B0#FFFFFF#000000##FFFFFF
##2A78B01.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7AB2
Deuteranopia (green-blind)
#4B6DAF
Tritanopia (blue-blind)
#00868C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a78b0;
/* rgb */ color: rgb(42, 120, 176);
/* oklch */ color: oklch(55.2% 0.115 244.1);
Tailwind
colors: {
  custom: {
    50: '#779ec8',
    500: '#2a78b0',
    950: '#000000',
  },
}
SCSS
$custom: #2a78b0;
$custom-light: #779ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a78b0",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 176
  },
  "hsl": {
    "h": 205.075,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55209,
    "c": 0.11479,
    "h": 244.1
  },
  "luminance": 0.1706
}

Semantic roles & 50–950 ramp

primary
#2A78B0
secondary
#C69470
accent
#8743E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A78B0

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

Preview Lab → · Contrast checker → · Palette generator →

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