#3A62CF#3A62CF

#3A62CF is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.9% C 0.175 H 265.5°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#3A62CF
RGBrgb(58, 98, 207)
HSLhsl(224, 61%, 52%)
HSVhsv(224, 72%, 81%)
CMYKcmyk(72%, 52.7%, 0%, 18.8%)
CIE-LABlab(44.43, 23.27, -60.53)
CIE-LCHlch(44.43, 64.85, 291.03°)
OKLaboklab(52.93% -0.0136 -0.1742)
OKLCHoklch(52.93% 0.175 265.5)
XYZxyz(17.3711, 14.1381, 60.8328)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A62CF #CFA73A
analogous
#3AACCF #3A62CF #5D3ACF
triadic
#3A62CF #CF3A62 #62CF3A
tetradic
#3A62CF #CF3AAC #CFA73A #3ACF5D
square
#3A62CF #CF3AAC #CFA73A #3ACF5D
split-complementary
#3A62CF #CF5D3A #ACCF3A
monochromatic
#1C3373 #2849A4 #3A62CF #6B89DB #9CB0E7

Accessibility & contrast

On white

5.49
#3A62CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#3A62CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A62CF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A62CF#FFFFFF#000000##FFFFFF
##3A62CF1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1470D3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3a62cf;
/* rgb */ color: rgb(58, 98, 207);
/* oklch */ color: oklch(52.9% 0.175 265.5);
Tailwind
colors: {
  custom: {
    50: '#838ede',
    500: '#3a62cf',
    950: '#000000',
  },
}
SCSS
$custom: #3a62cf;
$custom-light: #838ede;
$custom-dark: #000000;
JSON
{
  "hex": "#3a62cf",
  "rgb": {
    "r": 58,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 223.893,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.52933,
    "c": 0.17472,
    "h": 265.5
  },
  "luminance": 0.1414
}

Semantic roles & 50–950 ramp

primary
#3A62CF
secondary
#D3C292
accent
#B944E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3A62CF

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

Preview Lab → · Contrast checker → · Palette generator →

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