#3A63E2#3A63E2

#3A63E2 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.199 H 266.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#3A63E2
RGBrgb(58, 99, 226)
HSLhsl(225, 74%, 56%)
HSVhsv(225, 74%, 89%)
CMYKcmyk(74.3%, 56.2%, 0%, 11.4%)
CIE-LABlab(46.06, 29.55, -68.72)
CIE-LCHlch(46.06, 74.80, 293.27°)
OKLaboklab(54.59% -0.013 -0.1982)
OKLCHoklch(54.59% 0.199 266.2)
XYZxyz(19.9294, 15.3120, 73.8419)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A63E2 #E2B93A
analogous
#3AB7E2 #3A63E2 #653AE2
triadic
#3A63E2 #E23A63 #63E23A
tetradic
#3A63E2 #E23AB7 #E2B93A #3AE265
square
#3A63E2 #E23AB7 #E2B93A #3AE265
split-complementary
#3A63E2 #E2653A #B7E23A
monochromatic
#15328D #1D45C2 #3A63E2 #6F8DEA #A5B7F2

Accessibility & contrast

On white

5.17
#3A63E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#3A63E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A63E2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A63E2#FFFFFF#000000##FFFFFF
##3A63E21.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#0066E0
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3a63e2;
/* rgb */ color: rgb(58, 99, 226);
/* oklch */ color: oklch(54.6% 0.199 266.2);
Tailwind
colors: {
  custom: {
    50: '#878eec',
    500: '#3a63e2',
    950: '#000000',
  },
}
SCSS
$custom: #3a63e2;
$custom-light: #878eec;
$custom-dark: #000000;
JSON
{
  "hex": "#3a63e2",
  "rgb": {
    "r": 58,
    "g": 99,
    "b": 226
  },
  "hsl": {
    "h": 225.357,
    "s": 74.336,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54592,
    "c": 0.19867,
    "h": 266.2
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A63E2

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

Preview Lab → · Contrast checker → · Palette generator →

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