#3A78D0#3A78D0

#3A78D0 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.6% C 0.150 H 257.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3A78D0
RGBrgb(58, 120, 208)
HSLhsl(215, 61%, 52%)
HSVhsv(215, 72%, 82%)
CMYKcmyk(72.1%, 42.3%, 0%, 18.4%)
CIE-LABlab(50.55, 9.75, -51.26)
CIE-LCHlch(50.55, 52.18, 280.77°)
OKLaboklab(57.65% -0.0322 -0.1465)
OKLCHoklch(57.65% 0.15 257.6)
XYZxyz(19.8424, 18.8844, 62.2616)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78D0 #D0923A
analogous
#3AC3D0 #3A78D0 #473AD0
triadic
#3A78D0 #D03A78 #78D03A
tetradic
#3A78D0 #D03AC3 #D0923A #3AD047
square
#3A78D0 #D03AC3 #D0923A #3AD047
split-complementary
#3A78D0 #D0473A #C3D03A
monochromatic
#1C4074 #275BA5 #3A78D0 #6B9ADC #9DBCE8

Accessibility & contrast

On white

4.40
#3A78D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#3A78D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A78D0
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78D0#FFFFFF#000000##000000
##3A78D01.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D80D3
Deuteranopia (green-blind)
#3372CE
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a78d0;
/* rgb */ color: rgb(58, 120, 208);
/* oklch */ color: oklch(57.6% 0.150 257.6);
Tailwind
colors: {
  custom: {
    50: '#829edf',
    500: '#3a78d0',
    950: '#000000',
  },
}
SCSS
$custom: #3a78d0;
$custom-light: #829edf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78d0",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 208
  },
  "hsl": {
    "h": 215.2,
    "s": 61.475,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57646,
    "c": 0.15003,
    "h": 257.6
  },
  "luminance": 0.18887
}

Semantic roles & 50–950 ramp

primary
#3A78D0
secondary
#D4B992
accent
#A243E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A78D0

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

Preview Lab → · Contrast checker → · Palette generator →

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