#2A78CA#2A78CA

#2A78CA is a mid, vivid cyan. Relative luminance 0.182; OKLCH L 56.8% C 0.147 H 252.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2A78CA
RGBrgb(42, 120, 202)
HSLhsl(211, 66%, 48%)
HSVhsv(211, 79%, 79%)
CMYKcmyk(79.2%, 40.6%, 0%, 20.8%)
CIE-LABlab(49.72, 5.58, -49.19)
CIE-LCHlch(49.72, 49.51, 276.47°)
OKLaboklab(56.75% -0.0431 -0.1407)
OKLCHoklch(56.75% 0.147 252.9)
XYZxyz(18.3280, 18.1872, 58.4102)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A78CA #CA7C2A
analogous
#2AC8CA #2A78CA #2C2ACA
triadic
#2A78CA #CA2A78 #78CA2A
tetradic
#2A78CA #CA2AC8 #CA7C2A #2ACA2C
square
#2A78CA #CA2AC8 #CA7C2A #2ACA2C
split-complementary
#2A78CA #CA2C2A #C8CA2A
monochromatic
#153C65 #1F5A97 #2A78CA #5597DC #88B6E6

Accessibility & contrast

On white

4.53
#2A78CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2A78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A78CA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A78CA#FFFFFF#000000##000000
##2A78CA1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECD
Deuteranopia (green-blind)
#3570C8
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a78ca;
/* rgb */ color: rgb(42, 120, 202);
/* oklch */ color: oklch(56.8% 0.147 252.9);
Tailwind
colors: {
  custom: {
    50: '#7c9eda',
    500: '#2a78ca',
    950: '#000000',
  },
}
SCSS
$custom: #2a78ca;
$custom-light: #7c9eda;
$custom-dark: #000000;
JSON
{
  "hex": "#2a78ca",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 210.75,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56753,
    "c": 0.14713,
    "h": 252.9
  },
  "luminance": 0.18189
}

Semantic roles & 50–950 ramp

primary
#2A78CA
secondary
#D0A980
accent
#963FE9
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2A78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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