#3F62AF#3F62AF

#3F62AF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.9% C 0.129 H 264.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3F62AF
RGBrgb(63, 98, 175)
HSLhsl(221, 47%, 47%)
HSVhsv(221, 64%, 69%)
CMYKcmyk(64%, 44%, 0%, 31.4%)
CIE-LABlab(42.59, 12.47, -44.90)
CIE-LCHlch(42.59, 46.60, 285.52°)
OKLaboklab(50.93% -0.0135 -0.1281)
OKLCHoklch(50.93% 0.129 264)
XYZxyz(14.1528, 12.8860, 42.2905)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F62AF #AF8C3F
analogous
#3F9AAF #3F62AF #543FAF
triadic
#3F62AF #AF3F62 #62AF3F
tetradic
#3F62AF #AF3F9A #AF8C3F #3FAF54
square
#3F62AF #AF3F9A #AF8C3F #3FAF54
split-complementary
#3F62AF #AF543F #9AAF3F
monochromatic
#1F3055 #2F4982 #3F62AF #6483C7 #91A7D7

Accessibility & contrast

On white

5.87
#3F62AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3F62AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F62AF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F62AF#FFFFFF#000000##FFFFFF
##3F62AF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6AB2
Deuteranopia (green-blind)
#2C60AD
Tritanopia (blue-blind)
#007480
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f62af;
/* rgb */ color: rgb(63, 98, 175);
/* oklch */ color: oklch(50.9% 0.129 264.0);
Tailwind
colors: {
  custom: {
    50: '#7f8ec7',
    500: '#3f62af',
    950: '#000000',
  },
}
SCSS
$custom: #3f62af;
$custom-light: #7f8ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f62af",
  "rgb": {
    "r": 63,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 221.25,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50929,
    "c": 0.12883,
    "h": 264
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#3F62AF
secondary
#C3B087
accent
#AD51D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3F62AF

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

Preview Lab → · Contrast checker → · Palette generator →

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