#3A78C8#3A78C8

#3A78C8 is a mid, vivid cyan. Relative luminance 0.185; OKLCH L 57.1% C 0.139 H 255.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#3A78C8
RGBrgb(58, 120, 200)
HSLhsl(214, 56%, 51%)
HSVhsv(214, 71%, 78%)
CMYKcmyk(71%, 40%, 0%, 21.6%)
CIE-LABlab(50.10, 6.85, -47.42)
CIE-LCHlch(50.10, 47.91, 278.22°)
OKLaboklab(57.15% -0.0339 -0.1353)
OKLCHoklch(57.15% 0.139 255.9)
XYZxyz(18.8829, 18.5006, 57.2082)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78C8 #C88A3A
analogous
#3ABFC8 #3A78C8 #433AC8
triadic
#3A78C8 #C83A78 #78C83A
tetradic
#3A78C8 #C83ABF #C88A3A #3AC843
square
#3A78C8 #C83ABF #C88A3A #3AC843
split-complementary
#3A78C8 #C8433A #BFC83A
monochromatic
#1E3F6A #2B5B9A #3A78C8 #6A99D5 #9ABAE3

Accessibility & contrast

On white

4.47
#3A78C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#3A78C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A78C8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78C8#FFFFFF#000000##000000
##3A78C81.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#537ECB
Deuteranopia (green-blind)
#3C71C6
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3a78c8;
/* rgb */ color: rgb(58, 120, 200);
/* oklch */ color: oklch(57.1% 0.139 255.9);
Tailwind
colors: {
  custom: {
    50: '#819ed9',
    500: '#3a78c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a78c8;
$custom-light: #819ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78c8",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 213.803,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57146,
    "c": 0.13946,
    "h": 255.9
  },
  "luminance": 0.18503
}

Semantic roles & 50–950 ramp

primary
#3A78C8
secondary
#CEB38F
accent
#9E48E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A78C8

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

Preview Lab → · Contrast checker → · Palette generator →

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