#3A62C6#3A62C6

#3A62C6 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.3% C 0.163 H 264.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#3A62C6
RGBrgb(58, 98, 198)
HSLhsl(223, 55%, 50%)
HSVhsv(223, 71%, 78%)
CMYKcmyk(70.7%, 50.5%, 0%, 22.4%)
CIE-LABlab(43.81, 19.98, -56.35)
CIE-LCHlch(43.81, 59.79, 289.53°)
OKLaboklab(52.27% -0.0145 -0.1619)
OKLCHoklch(52.27% 0.163 264.9)
XYZxyz(16.3021, 13.7104, 55.2024)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A62C6 #C69E3A
analogous
#3AA8C6 #3A62C6 #583AC6
triadic
#3A62C6 #C63A62 #62C63A
tetradic
#3A62C6 #C63AA8 #C69E3A #3AC658
square
#3A62C6 #C63AA8 #C69E3A #3AC658
split-complementary
#3A62C6 #C6583A #A8C63A
monochromatic
#1E3368 #2C4A97 #3A62C6 #6988D4 #99AEE1

Accessibility & contrast

On white

5.61
#3A62C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3A62C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A62C6
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A62C6#FFFFFF#000000##FFFFFF
##3A62C61.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266ECA
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#007A8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3a62c6;
/* rgb */ color: rgb(58, 98, 198);
/* oklch */ color: oklch(52.3% 0.163 264.9);
Tailwind
colors: {
  custom: {
    50: '#818ed8',
    500: '#3a62c6',
    950: '#000000',
  },
}
SCSS
$custom: #3a62c6;
$custom-light: #818ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a62c6",
  "rgb": {
    "r": 58,
    "g": 98,
    "b": 198
  },
  "hsl": {
    "h": 222.857,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5227,
    "c": 0.16252,
    "h": 264.9
  },
  "luminance": 0.13712
}

Semantic roles & 50–950 ramp

primary
#3A62C6
secondary
#CDBB8F
accent
#B449DE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3A62C6

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

Preview Lab → · Contrast checker → · Palette generator →

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