#3A62D9#3A62D9

#3A62D9 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.7% C 0.188 H 266.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#3A62D9
RGBrgb(58, 98, 217)
HSLhsl(225, 68%, 54%)
HSVhsv(225, 73%, 85%)
CMYKcmyk(73.3%, 54.8%, 0%, 14.9%)
CIE-LABlab(45.14, 26.92, -65.10)
CIE-LCHlch(45.14, 70.45, 292.47°)
OKLaboklab(53.69% -0.0128 -0.1876)
OKLCHoklch(53.69% 0.188 266.1)
XYZxyz(18.6326, 14.6426, 67.4765)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A62D9 #D9B13A
analogous
#3AB2D9 #3A62D9 #623AD9
triadic
#3A62D9 #D93A62 #62D93A
tetradic
#3A62D9 #D93AB2 #D9B13A #3AD962
square
#3A62D9 #D93AB2 #D9B13A #3AD962
split-complementary
#3A62D9 #D9623A #B2D93A
monochromatic
#193380 #2347B3 #3A62D9 #6D8BE3 #A1B4ED

Accessibility & contrast

On white

5.34
#3A62D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#3A62D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A62D9
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A62D9#FFFFFF#000000##FFFFFF
##3A62D91.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#007F94
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3a62d9;
/* rgb */ color: rgb(58, 98, 217);
/* oklch */ color: oklch(53.7% 0.188 266.1);
Tailwind
colors: {
  custom: {
    50: '#858ee6',
    500: '#3a62d9',
    950: '#000000',
  },
}
SCSS
$custom: #3a62d9;
$custom-light: #858ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a62d9",
  "rgb": {
    "r": 58,
    "g": 98,
    "b": 217
  },
  "hsl": {
    "h": 224.906,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53694,
    "c": 0.18806,
    "h": 266.1
  },
  "luminance": 0.14645
}

Semantic roles & 50–950 ramp

primary
#3A62D9
secondary
#D9C895
accent
#BF3DEB
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0D0C16
muted
#7D7D84

Preview Lab

Preview with #3A62D9

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

Preview Lab → · Contrast checker → · Palette generator →

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