#3F62D5#3F62D5

#3F62D5 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.6% C 0.181 H 267.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#3F62D5
RGBrgb(63, 98, 213)
HSLhsl(226, 64%, 54%)
HSVhsv(226, 70%, 84%)
CMYKcmyk(70.4%, 54%, 0%, 16.5%)
CIE-LABlab(45.07, 26.12, -62.92)
CIE-LCHlch(45.07, 68.12, 292.55°)
OKLaboklab(53.61% -0.0088 -0.1811)
OKLCHoklch(53.61% 0.181 267.2)
XYZxyz(18.4237, 14.5943, 64.7839)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F62D5 #D5B23F
analogous
#3FADD5 #3F62D5 #673FD5
triadic
#3F62D5 #D53F62 #62D53F
tetradic
#3F62D5 #D53FAD #D5B23F #3FD567
square
#3F62D5 #D53FAD #D5B23F #3FD567
split-complementary
#3F62D5 #D5673F #ADD53F
monochromatic
#1C337E #2747B0 #3F62D5 #718BE0 #A3B4EB

Accessibility & contrast

On white

5.36
#3F62D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#3F62D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F62D5
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F62D5#FFFFFF#000000##FFFFFF
##3F62D51.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072D9
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#007E92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3f62d5;
/* rgb */ color: rgb(63, 98, 213);
/* oklch */ color: oklch(53.6% 0.181 267.2);
Tailwind
colors: {
  custom: {
    50: '#868ee3',
    500: '#3f62d5',
    950: '#000000',
  },
}
SCSS
$custom: #3f62d5;
$custom-light: #868ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f62d5",
  "rgb": {
    "r": 63,
    "g": 98,
    "b": 213
  },
  "hsl": {
    "h": 226,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53613,
    "c": 0.18131,
    "h": 267.2
  },
  "luminance": 0.14596
}

Semantic roles & 50–950 ramp

primary
#3F62D5
secondary
#D8C998
accent
#C041E7
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0D0C15
muted
#7D7D84

Preview Lab

Preview with #3F62D5

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

Preview Lab → · Contrast checker → · Palette generator →

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