#3D71F0#3D71F0

#3D71F0 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.5% C 0.199 H 264.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#3D71F0
RGBrgb(61, 113, 240)
HSLhsl(223, 86%, 59%)
HSVhsv(223, 75%, 94%)
CMYKcmyk(74.6%, 52.9%, 0%, 5.9%)
CIE-LABlab(50.79, 26.15, -68.90)
CIE-LCHlch(50.79, 73.69, 290.78°)
OKLaboklab(58.51% -0.0198 -0.1985)
OKLCHoklch(58.51% 0.199 264.3)
XYZxyz(23.5522, 19.0910, 84.8648)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D71F0 #F0BC3D
analogous
#3DCBF0 #3D71F0 #633DF0
triadic
#3D71F0 #F03D71 #71F03D
tetradic
#3D71F0 #F03DCB #F0BC3D #3DF063
square
#3D71F0 #F03DCB #F0BC3D #3DF063
split-complementary
#3D71F0 #F0633D #CBF03D
monochromatic
#0D39A6 #114DDF #3D71F0 #769BF4 #AFC4F9

Accessibility & contrast

On white

4.36
#3D71F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#3D71F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D71F0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D71F0#FFFFFF#000000##000000
##3D71F01.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0882F4
Deuteranopia (green-blind)
#0071ED
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3d71f0;
/* rgb */ color: rgb(61, 113, 240);
/* oklch */ color: oklch(58.5% 0.199 264.3);
Tailwind
colors: {
  custom: {
    50: '#8a99f6',
    500: '#3d71f0',
    950: '#000000',
  },
}
SCSS
$custom: #3d71f0;
$custom-light: #8a99f6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d71f0",
  "rgb": {
    "r": 61,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 222.57,
    "s": 85.646,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58512,
    "c": 0.19948,
    "h": 264.3
  },
  "luminance": 0.19094
}

Semantic roles & 50–950 ramp

primary
#3D71F0
secondary
#E8D3A1
accent
#BF2CFC
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #3D71F0

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

Preview Lab → · Contrast checker → · Palette generator →

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