#3A62C8#3A62C8

#3A62C8 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.4% C 0.165 H 265.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#3A62C8
RGBrgb(58, 98, 200)
HSLhsl(223, 56%, 51%)
HSVhsv(223, 71%, 78%)
CMYKcmyk(71%, 51%, 0%, 21.6%)
CIE-LABlab(43.95, 20.71, -57.28)
CIE-LCHlch(43.95, 60.91, 289.88°)
OKLaboklab(52.42% -0.0142 -0.1646)
OKLCHoklch(52.42% 0.165 265.1)
XYZxyz(16.5343, 13.8033, 56.4253)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A62C8 #C8A03A
analogous
#3AA9C8 #3A62C8 #593AC8
triadic
#3A62C8 #C83A62 #62C83A
tetradic
#3A62C8 #C83AA9 #C8A03A #3AC859
square
#3A62C8 #C83AA9 #C8A03A #3AC859
split-complementary
#3A62C8 #C8593A #A9C83A
monochromatic
#1E336A #2B4A9A #3A62C8 #6A88D5 #9AAEE3

Accessibility & contrast

On white

5.58
#3A62C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#3A62C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A62C8
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A62C8#FFFFFF#000000##FFFFFF
##3A62C81.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236FCC
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#007A8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3a62c8;
/* rgb */ color: rgb(58, 98, 200);
/* oklch */ color: oklch(52.4% 0.165 265.1);
Tailwind
colors: {
  custom: {
    50: '#828ed9',
    500: '#3a62c8',
    950: '#000000',
  },
}
SCSS
$custom: #3a62c8;
$custom-light: #828ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a62c8",
  "rgb": {
    "r": 58,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 223.099,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52415,
    "c": 0.16524,
    "h": 265.1
  },
  "luminance": 0.13805
}

Semantic roles & 50–950 ramp

primary
#3A62C8
secondary
#CEBD8F
accent
#B548E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A62C8

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

Preview Lab → · Contrast checker → · Palette generator →

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