#3A78CA#3A78CA

#3A78CA is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.3% C 0.142 H 256.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3A78CA
RGBrgb(58, 120, 202)
HSLhsl(214, 58%, 51%)
HSVhsv(214, 71%, 79%)
CMYKcmyk(71.3%, 40.6%, 0%, 20.8%)
CIE-LABlab(50.21, 7.57, -48.39)
CIE-LCHlch(50.21, 48.98, 278.89°)
OKLaboklab(57.27% -0.0335 -0.1381)
OKLCHoklch(57.27% 0.142 256.4)
XYZxyz(19.1182, 18.5947, 58.4472)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78CA #CA8C3A
analogous
#3AC0CA #3A78CA #443ACA
triadic
#3A78CA #CA3A78 #78CA3A
tetradic
#3A78CA #CA3AC0 #CA8C3A #3ACA44
square
#3A78CA #CA3AC0 #CA8C3A #3ACA44
split-complementary
#3A78CA #CA443A #C0CA3A
monochromatic
#1D3F6C #2A5B9D #3A78CA #6A99D7 #9ABAE4

Accessibility & contrast

On white

4.45
#3A78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#3A78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A78CA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78CA#FFFFFF#000000##000000
##3A78CA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCD
Deuteranopia (green-blind)
#3A71C8
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3a78ca;
/* rgb */ color: rgb(58, 120, 202);
/* oklch */ color: oklch(57.3% 0.142 256.4);
Tailwind
colors: {
  custom: {
    50: '#819eda',
    500: '#3a78ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a78ca;
$custom-light: #819eda;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78ca",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 214.167,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57269,
    "c": 0.1421,
    "h": 256.4
  },
  "luminance": 0.18597
}

Semantic roles & 50–950 ramp

primary
#3A78CA
secondary
#D0B490
accent
#9F47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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