#3A78CF#3A78CF

#3A78CF is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.6% C 0.149 H 257.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3A78CF
RGBrgb(58, 120, 207)
HSLhsl(215, 61%, 52%)
HSVhsv(215, 72%, 81%)
CMYKcmyk(72%, 42%, 0%, 18.8%)
CIE-LABlab(50.49, 9.39, -50.78)
CIE-LCHlch(50.49, 51.64, 280.47°)
OKLaboklab(57.58% -0.0324 -0.1451)
OKLCHoklch(57.58% 0.149 257.4)
XYZxyz(19.7198, 18.8353, 61.6157)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78CF #CF913A
analogous
#3AC2CF #3A78CF #473ACF
triadic
#3A78CF #CF3A78 #78CF3A
tetradic
#3A78CF #CF3AC2 #CF913A #3ACF47
square
#3A78CF #CF3AC2 #CF913A #3ACF47
split-complementary
#3A78CF #CF473A #C2CF3A
monochromatic
#1C4073 #285CA4 #3A78CF #6B9ADB #9CBBE7

Accessibility & contrast

On white

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

On black

4.77
#3A78CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A78CF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78CF#FFFFFF#000000##000000
##3A78CF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E80D2
Deuteranopia (green-blind)
#3472CD
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a78cf;
/* rgb */ color: rgb(58, 120, 207);
/* oklch */ color: oklch(57.6% 0.149 257.4);
Tailwind
colors: {
  custom: {
    50: '#829ede',
    500: '#3a78cf',
    950: '#000000',
  },
}
SCSS
$custom: #3a78cf;
$custom-light: #829ede;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78cf",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 215.034,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57582,
    "c": 0.1487,
    "h": 257.4
  },
  "luminance": 0.18837
}

Semantic roles & 50–950 ramp

primary
#3A78CF
secondary
#D3B892
accent
#A144E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A78CF

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

Preview Lab → · Contrast checker → · Palette generator →

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