#3F62D2#3F62D2

#3F62D2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.4% C 0.177 H 267.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#3F62D2
RGBrgb(63, 98, 210)
HSLhsl(226, 62%, 54%)
HSVhsv(226, 70%, 82%)
CMYKcmyk(70%, 53.3%, 0%, 17.6%)
CIE-LABlab(44.86, 25.04, -61.54)
CIE-LCHlch(44.86, 66.44, 292.14°)
OKLaboklab(53.39% -0.009 -0.1771)
OKLCHoklch(53.39% 0.177 267.1)
XYZxyz(18.0464, 14.4434, 62.7971)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F62D2 #D2AF3F
analogous
#3FABD2 #3F62D2 #653FD2
triadic
#3F62D2 #D23F62 #62D23F
tetradic
#3F62D2 #D23FAB #D2AF3F #3FD265
square
#3F62D2 #D23FAB #D2AF3F #3FD265
split-complementary
#3F62D2 #D2653F #ABD23F
monochromatic
#1D337A #2847AC #3F62D2 #718BDE #A2B3E9

Accessibility & contrast

On white

5.40
#3F62D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#3F62D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F62D2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F62D2#FFFFFF#000000##FFFFFF
##3F62D21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D71D6
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#007D90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3f62d2;
/* rgb */ color: rgb(63, 98, 210);
/* oklch */ color: oklch(53.4% 0.177 267.1);
Tailwind
colors: {
  custom: {
    50: '#868ee1',
    500: '#3f62d2',
    950: '#000000',
  },
}
SCSS
$custom: #3f62d2;
$custom-light: #868ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f62d2",
  "rgb": {
    "r": 63,
    "g": 98,
    "b": 210
  },
  "hsl": {
    "h": 225.714,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53387,
    "c": 0.17729,
    "h": 267.1
  },
  "luminance": 0.14445
}

Semantic roles & 50–950 ramp

primary
#3F62D2
secondary
#D6C797
accent
#BE43E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3F62D2

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

Preview Lab → · Contrast checker → · Palette generator →

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