#3A78CC#3A78CC

#3A78CC is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.4% C 0.145 H 256.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3A78CC
RGBrgb(58, 120, 204)
HSLhsl(215, 59%, 51%)
HSVhsv(215, 72%, 80%)
CMYKcmyk(71.6%, 41.2%, 0%, 20%)
CIE-LABlab(50.32, 8.30, -49.35)
CIE-LCHlch(50.32, 50.04, 279.55°)
OKLaboklab(57.39% -0.033 -0.1409)
OKLCHoklch(57.39% 0.145 256.8)
XYZxyz(19.3565, 18.6900, 59.7024)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78CC #CC8E3A
analogous
#3AC1CC #3A78CC #453ACC
triadic
#3A78CC #CC3A78 #78CC3A
tetradic
#3A78CC #CC3AC1 #CC8E3A #3ACC45
square
#3A78CC #CC3AC1 #CC8E3A #3ACC45
split-complementary
#3A78CC #CC453A #C1CC3A
monochromatic
#1D406F #295BA0 #3A78CC #6B99D9 #9BBBE5

Accessibility & contrast

On white

4.43
#3A78CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#3A78CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A78CC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78CC#FFFFFF#000000##000000
##3A78CC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCF
Deuteranopia (green-blind)
#3872CA
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a78cc;
/* rgb */ color: rgb(58, 120, 204);
/* oklch */ color: oklch(57.4% 0.145 256.8);
Tailwind
colors: {
  custom: {
    50: '#829edc',
    500: '#3a78cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a78cc;
$custom-light: #829edc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78cc",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 204
  },
  "hsl": {
    "h": 214.521,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57394,
    "c": 0.14474,
    "h": 256.8
  },
  "luminance": 0.18692
}

Semantic roles & 50–950 ramp

primary
#3A78CC
secondary
#D1B691
accent
#A046E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A78CC

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

Preview Lab → · Contrast checker → · Palette generator →

#3A78CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva