#3A62CC#3A62CC

#3A62CC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.7% C 0.171 H 265.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#3A62CC
RGBrgb(58, 98, 204)
HSLhsl(224, 59%, 51%)
HSVhsv(224, 72%, 80%)
CMYKcmyk(71.6%, 52%, 0%, 20%)
CIE-LABlab(44.22, 22.18, -59.15)
CIE-LCHlch(44.22, 63.17, 290.55°)
OKLaboklab(52.71% -0.0138 -0.1701)
OKLCHoklch(52.71% 0.171 265.3)
XYZxyz(17.0079, 13.9928, 58.9196)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A62CC #CCA43A
analogous
#3AABCC #3A62CC #5B3ACC
triadic
#3A62CC #CC3A62 #62CC3A
tetradic
#3A62CC #CC3AAB #CCA43A #3ACC5B
square
#3A62CC #CC3AAB #CCA43A #3ACC5B
split-complementary
#3A62CC #CC5B3A #ABCC3A
monochromatic
#1D336F #294AA0 #3A62CC #6B89D9 #9BAFE5

Accessibility & contrast

On white

5.53
#3A62CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#3A62CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A62CC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A62CC#FFFFFF#000000##FFFFFF
##3A62CC1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C70D0
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#007B8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3a62cc;
/* rgb */ color: rgb(58, 98, 204);
/* oklch */ color: oklch(52.7% 0.171 265.3);
Tailwind
colors: {
  custom: {
    50: '#828edc',
    500: '#3a62cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a62cc;
$custom-light: #828edc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a62cc",
  "rgb": {
    "r": 58,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 223.562,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52709,
    "c": 0.17066,
    "h": 265.3
  },
  "luminance": 0.13995
}

Semantic roles & 50–950 ramp

primary
#3A62CC
secondary
#D1BF91
accent
#B746E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A62CC

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

Preview Lab → · Contrast checker → · Palette generator →

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