#3A62E2#3A62E2

#3A62E2 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.4% C 0.200 H 266.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#3A62E2
RGBrgb(58, 98, 226)
HSLhsl(226, 74%, 56%)
HSVhsv(226, 74%, 89%)
CMYKcmyk(74.3%, 56.6%, 0%, 11.4%)
CIE-LABlab(45.80, 30.18, -69.13)
CIE-LCHlch(45.80, 75.44, 293.59°)
OKLaboklab(54.4% -0.0123 -0.1995)
OKLCHoklch(54.4% 0.2 266.5)
XYZxyz(19.8353, 15.1237, 73.8106)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A62E2 #E2BA3A
analogous
#3AB6E2 #3A62E2 #663AE2
triadic
#3A62E2 #E23A62 #62E23A
tetradic
#3A62E2 #E23AB6 #E2BA3A #3AE266
square
#3A62E2 #E23AB6 #E2BA3A #3AE266
split-complementary
#3A62E2 #E2663A #B6E23A
monochromatic
#15318D #1D44C2 #3A62E2 #6F8DEA #A5B7F2

Accessibility & contrast

On white

5.22
#3A62E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#3A62E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A62E2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A62E2#FFFFFF#000000##FFFFFF
##3A62E21.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3a62e2;
/* rgb */ color: rgb(58, 98, 226);
/* oklch */ color: oklch(54.4% 0.200 266.5);
Tailwind
colors: {
  custom: {
    50: '#878eec',
    500: '#3a62e2',
    950: '#000000',
  },
}
SCSS
$custom: #3a62e2;
$custom-light: #878eec;
$custom-dark: #000000;
JSON
{
  "hex": "#3a62e2",
  "rgb": {
    "r": 58,
    "g": 98,
    "b": 226
  },
  "hsl": {
    "h": 225.714,
    "s": 74.336,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54401,
    "c": 0.19986,
    "h": 266.5
  },
  "luminance": 0.15126
}

Semantic roles & 50–950 ramp

primary
#3A62E2
secondary
#DFCE99
accent
#C537F1
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3A62E2

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

Preview Lab → · Contrast checker → · Palette generator →

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