#3A78DF#3A78DF

#3A78DF is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.6% C 0.170 H 260.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3A78DF
RGBrgb(58, 120, 223)
HSLhsl(217, 72%, 55%)
HSVhsv(217, 74%, 87%)
CMYKcmyk(74%, 46.2%, 0%, 12.5%)
CIE-LABlab(51.45, 15.22, -58.31)
CIE-LCHlch(51.45, 60.27, 284.63°)
OKLaboklab(58.63% -0.0295 -0.1673)
OKLCHoklch(58.63% 0.17 260)
XYZxyz(21.7759, 19.6578, 72.4444)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78DF #DFA13A
analogous
#3ACADF #3A78DF #4F3ADF
triadic
#3A78DF #DF3A78 #78DF3A
tetradic
#3A78DF #DF3ACA #DFA13A #3ADF4F
square
#3A78DF #DF3ACA #DFA13A #3ADF4F
split-complementary
#3A78DF #DF4F3A #CADF3A
monochromatic
#164188 #1F5ABD #3A78DF #6F9CE8 #A3C0F0

Accessibility & contrast

On white

4.26
#3A78DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#3A78DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A78DF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78DF#FFFFFF#000000##000000
##3A78DF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4183E3
Deuteranopia (green-blind)
#1874DD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a78df;
/* rgb */ color: rgb(58, 120, 223);
/* oklch */ color: oklch(58.6% 0.170 260.0);
Tailwind
colors: {
  custom: {
    50: '#859eea',
    500: '#3a78df',
    950: '#000000',
  },
}
SCSS
$custom: #3a78df;
$custom-light: #859eea;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78df",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 217.455,
    "s": 72.052,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58627,
    "c": 0.16985,
    "h": 260
  },
  "luminance": 0.1966
}

Semantic roles & 50–950 ramp

primary
#3A78DF
secondary
#DDC398
accent
#AA39EF
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #3A78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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