#3D71C8#3D71C8

#3D71C8 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.7% C 0.146 H 260.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3D71C8
RGBrgb(61, 113, 200)
HSLhsl(218, 56%, 51%)
HSVhsv(218, 70%, 78%)
CMYKcmyk(69.5%, 43.5%, 0%, 21.6%)
CIE-LABlab(48.22, 11.64, -50.41)
CIE-LCHlch(48.22, 51.73, 283.00°)
OKLaboklab(55.73% -0.0252 -0.1441)
OKLCHoklch(55.73% 0.146 260.1)
XYZxyz(18.2512, 16.9706, 56.9462)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D71C8 #C8943D
analogous
#3DB6C8 #3D71C8 #4E3DC8
triadic
#3D71C8 #C83D71 #71C83D
tetradic
#3D71C8 #C83DB6 #C8943D #3DC84E
square
#3D71C8 #C83DB6 #C8943D #3DC84E
split-complementary
#3D71C8 #C84E3D #B6C83D
monochromatic
#1F3C6C #2C569C #3D71C8 #6D94D6 #9CB7E3

Accessibility & contrast

On white

4.78
#3D71C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3D71C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D71C8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D71C8#FFFFFF#000000##FFFFFF
##3D71C81.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4779CB
Deuteranopia (green-blind)
#2E6DC6
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3d71c8;
/* rgb */ color: rgb(61, 113, 200);
/* oklch */ color: oklch(55.7% 0.146 260.1);
Tailwind
colors: {
  custom: {
    50: '#8299d9',
    500: '#3d71c8',
    950: '#000000',
  },
}
SCSS
$custom: #3d71c8;
$custom-light: #8299d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d71c8",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 217.554,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55725,
    "c": 0.14629,
    "h": 260.1
  },
  "luminance": 0.16972
}

Semantic roles & 50–950 ramp

primary
#3D71C8
secondary
#CFB892
accent
#A749DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3D71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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