#3A78DD#3A78DD

#3A78DD is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.5% C 0.167 H 259.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3A78DD
RGBrgb(58, 120, 221)
HSLhsl(217, 71%, 55%)
HSVhsv(217, 74%, 87%)
CMYKcmyk(73.8%, 45.7%, 0%, 13.3%)
CIE-LABlab(51.33, 14.49, -57.38)
CIE-LCHlch(51.33, 59.18, 284.18°)
OKLaboklab(58.49% -0.0298 -0.1645)
OKLCHoklch(58.49% 0.167 259.7)
XYZxyz(21.5078, 19.5505, 71.0327)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78DD #DD9F3A
analogous
#3ACADD #3A78DD #4E3ADD
triadic
#3A78DD #DD3A78 #78DD3A
tetradic
#3A78DD #DD3ACA #DD9F3A #3ADD4E
square
#3A78DD #DD3ACA #DD9F3A #3ADD4E
split-complementary
#3A78DD #DD4E3A #CADD3A
monochromatic
#174186 #205BBA #3A78DD #6E9CE6 #A2C0EF

Accessibility & contrast

On white

4.28
#3A78DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#3A78DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A78DD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78DD#FFFFFF#000000##000000
##3A78DD1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E1
Deuteranopia (green-blind)
#1D73DB
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a78dd;
/* rgb */ color: rgb(58, 120, 221);
/* oklch */ color: oklch(58.5% 0.167 259.7);
Tailwind
colors: {
  custom: {
    50: '#859ee8',
    500: '#3a78dd',
    950: '#000000',
  },
}
SCSS
$custom: #3a78dd;
$custom-light: #859ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78dd",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 217.178,
    "s": 70.563,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58493,
    "c": 0.16721,
    "h": 259.7
  },
  "luminance": 0.19553
}

Semantic roles & 50–950 ramp

primary
#3A78DD
secondary
#DCC297
accent
#A93AED
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #3A78DD

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

Preview Lab → · Contrast checker → · Palette generator →

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