#3A62C5#3A62C5

#3A62C5 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.2% C 0.161 H 264.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#3A62C5
RGBrgb(58, 98, 197)
HSLhsl(223, 55%, 50%)
HSVhsv(223, 71%, 77%)
CMYKcmyk(70.6%, 50.3%, 0%, 22.7%)
CIE-LABlab(43.75, 19.62, -55.88)
CIE-LCHlch(43.75, 59.22, 289.34°)
OKLaboklab(52.2% -0.0146 -0.1605)
OKLCHoklch(52.2% 0.161 264.8)
XYZxyz(16.1871, 13.6645, 54.5969)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A62C5 #C59D3A
analogous
#3AA7C5 #3A62C5 #583AC5
triadic
#3A62C5 #C53A62 #62C53A
tetradic
#3A62C5 #C53AA7 #C59D3A #3AC558
square
#3A62C5 #C53AA7 #C59D3A #3AC558
split-complementary
#3A62C5 #C5583A #A7C53A
monochromatic
#1E3366 #2C4A96 #3A62C5 #6988D3 #99ADE1

Accessibility & contrast

On white

5.63
#3A62C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#3A62C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A62C5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A62C5#FFFFFF#000000##FFFFFF
##3A62C51.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276EC9
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3a62c5;
/* rgb */ color: rgb(58, 98, 197);
/* oklch */ color: oklch(52.2% 0.161 264.8);
Tailwind
colors: {
  custom: {
    50: '#818ed7',
    500: '#3a62c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a62c5;
$custom-light: #818ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a62c5",
  "rgb": {
    "r": 58,
    "g": 98,
    "b": 197
  },
  "hsl": {
    "h": 222.734,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.16115,
    "h": 264.8
  },
  "luminance": 0.13666
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A62C5

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

Preview Lab → · Contrast checker → · Palette generator →

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