#3D62B4#3D62B4

#3D62B4 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.2% C 0.137 H 263.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3D62B4
RGBrgb(61, 98, 180)
HSLhsl(221, 49%, 47%)
HSVhsv(221, 66%, 71%)
CMYKcmyk(66.1%, 45.6%, 0%, 29.4%)
CIE-LABlab(42.80, 13.91, -47.51)
CIE-LCHlch(42.80, 49.51, 286.31°)
OKLaboklab(51.16% -0.0144 -0.1358)
OKLCHoklch(51.16% 0.137 263.9)
XYZxyz(14.5275, 13.0214, 44.9189)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D62B4 #B48F3D
analogous
#3D9DB4 #3D62B4 #543DB4
triadic
#3D62B4 #B43D62 #62B43D
tetradic
#3D62B4 #B43D9D #B48F3D #3DB454
square
#3D62B4 #B43D9D #B48F3D #3DB454
split-complementary
#3D62B4 #B4543D #9DB43D
monochromatic
#1E3059 #2E4986 #3D62B4 #6484CA #92A8DA

Accessibility & contrast

On white

5.83
#3D62B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3D62B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D62B4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D62B4#FFFFFF#000000##FFFFFF
##3D62B41.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB7
Deuteranopia (green-blind)
#2560B2
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3d62b4;
/* rgb */ color: rgb(61, 98, 180);
/* oklch */ color: oklch(51.2% 0.137 263.9);
Tailwind
colors: {
  custom: {
    50: '#7f8ecb',
    500: '#3d62b4',
    950: '#000000',
  },
}
SCSS
$custom: #3d62b4;
$custom-light: #7f8ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d62b4",
  "rgb": {
    "r": 61,
    "g": 98,
    "b": 180
  },
  "hsl": {
    "h": 221.345,
    "s": 49.378,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51157,
    "c": 0.13659,
    "h": 263.9
  },
  "luminance": 0.13023
}

Semantic roles & 50–950 ramp

primary
#3D62B4
secondary
#C5B288
accent
#AE4FD9
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3D62B4

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

Preview Lab → · Contrast checker → · Palette generator →

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