#3D78CB#3D78CB

#3D78CB is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.4% C 0.142 H 257.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#3D78CB
RGBrgb(61, 120, 203)
HSLhsl(215, 58%, 52%)
HSVhsv(215, 70%, 80%)
CMYKcmyk(70%, 40.9%, 0%, 20.4%)
CIE-LABlab(50.38, 8.37, -48.69)
CIE-LCHlch(50.38, 49.40, 279.76°)
OKLaboklab(57.45% -0.0311 -0.1389)
OKLCHoklch(57.45% 0.142 257.4)
XYZxyz(19.4165, 18.7348, 59.0812)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D78CB #CB903D
analogous
#3DBFCB #3D78CB #493DCB
triadic
#3D78CB #CB3D78 #78CB3D
tetradic
#3D78CB #CB3DBF #CB903D #3DCB49
square
#3D78CB #CB3DBF #CB903D #3DCB49
split-complementary
#3D78CB #CB493D #BFCB3D
monochromatic
#1E4070 #2B5CA0 #3D78CB #6D9AD8 #9EBBE5

Accessibility & contrast

On white

4.42
#3D78CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#3D78CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D78CB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D78CB#FFFFFF#000000##000000
##3D78CB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCE
Deuteranopia (green-blind)
#3A72C9
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3d78cb;
/* rgb */ color: rgb(61, 120, 203);
/* oklch */ color: oklch(57.4% 0.142 257.4);
Tailwind
colors: {
  custom: {
    50: '#839edb',
    500: '#3d78cb',
    950: '#000000',
  },
}
SCSS
$custom: #3d78cb;
$custom-light: #839edb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d78cb",
  "rgb": {
    "r": 61,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 215.07,
    "s": 57.724,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57447,
    "c": 0.14237,
    "h": 257.4
  },
  "luminance": 0.18737
}

Semantic roles & 50–950 ramp

primary
#3D78CB
secondary
#D1B793
accent
#A147E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3D78CB

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

Preview Lab → · Contrast checker → · Palette generator →

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