#3A62C4#3A62C4

#3A62C4 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.1% C 0.160 H 264.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#3A62C4
RGBrgb(58, 98, 196)
HSLhsl(223, 54%, 50%)
HSVhsv(223, 70%, 77%)
CMYKcmyk(70.4%, 50%, 0%, 23.1%)
CIE-LABlab(43.68, 19.25, -55.41)
CIE-LCHlch(43.68, 58.66, 289.16°)
OKLaboklab(52.13% -0.0147 -0.1591)
OKLCHoklch(52.13% 0.16 264.7)
XYZxyz(16.0729, 13.6188, 53.9955)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A62C4 #C49C3A
analogous
#3AA7C4 #3A62C4 #573AC4
triadic
#3A62C4 #C43A62 #62C43A
tetradic
#3A62C4 #C43AA7 #C49C3A #3AC457
square
#3A62C4 #C43AA7 #C49C3A #3AC457
split-complementary
#3A62C4 #C4573A #A7C43A
monochromatic
#1E3366 #2C4A95 #3A62C4 #6987D3 #98ADE0

Accessibility & contrast

On white

5.64
#3A62C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#3A62C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A62C4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A62C4#FFFFFF#000000##FFFFFF
##3A62C41.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296EC8
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a62c4;
/* rgb */ color: rgb(58, 98, 196);
/* oklch */ color: oklch(52.1% 0.160 264.7);
Tailwind
colors: {
  custom: {
    50: '#818ed6',
    500: '#3a62c4',
    950: '#000000',
  },
}
SCSS
$custom: #3a62c4;
$custom-light: #818ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a62c4",
  "rgb": {
    "r": 58,
    "g": 98,
    "b": 196
  },
  "hsl": {
    "h": 222.609,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52125,
    "c": 0.15978,
    "h": 264.7
  },
  "luminance": 0.1362
}

Semantic roles & 50–950 ramp

primary
#3A62C4
secondary
#CCBA8E
accent
#B34ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3A62C4

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

Preview Lab → · Contrast checker → · Palette generator →

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