#3A78C5#3A78C5

#3A78C5 is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 57.0% C 0.136 H 255.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3A78C5
RGBrgb(58, 120, 197)
HSLhsl(213, 55%, 50%)
HSVhsv(213, 71%, 77%)
CMYKcmyk(70.6%, 39.1%, 0%, 22.7%)
CIE-LABlab(49.93, 5.76, -45.97)
CIE-LCHlch(49.93, 46.33, 277.15°)
OKLaboklab(56.96% -0.0346 -0.131)
OKLCHoklch(56.96% 0.136 255.2)
XYZxyz(18.5357, 18.3617, 55.3798)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78C5 #C5873A
analogous
#3ABEC5 #3A78C5 #413AC5
triadic
#3A78C5 #C53A78 #78C53A
tetradic
#3A78C5 #C53ABE #C5873A #3AC541
square
#3A78C5 #C53ABE #C5873A #3AC541
split-complementary
#3A78C5 #C5413A #BEC53A
monochromatic
#1E3E66 #2C5B96 #3A78C5 #6998D3 #99B9E1

Accessibility & contrast

On white

4.49
#3A78C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#3A78C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A78C5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78C5#FFFFFF#000000##000000
##3A78C51.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#557EC8
Deuteranopia (green-blind)
#3F71C3
Tritanopia (blue-blind)
#008A95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3a78c5;
/* rgb */ color: rgb(58, 120, 197);
/* oklch */ color: oklch(57.0% 0.136 255.2);
Tailwind
colors: {
  custom: {
    50: '#809ed7',
    500: '#3a78c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a78c5;
$custom-light: #809ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78c5",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 197
  },
  "hsl": {
    "h": 213.237,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.56963,
    "c": 0.1355,
    "h": 255.2
  },
  "luminance": 0.18364
}

Semantic roles & 50–950 ramp

primary
#3A78C5
secondary
#CDB18E
accent
#9C4ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3A78C5

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

Preview Lab → · Contrast checker → · Palette generator →

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