#3A63B2#3A63B2

#3A63B2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.1% C 0.134 H 262.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#3A63B2
RGBrgb(58, 99, 178)
HSLhsl(220, 51%, 46%)
HSVhsv(220, 67%, 70%)
CMYKcmyk(67.4%, 44.4%, 0%, 30.2%)
CIE-LABlab(42.82, 12.03, -46.32)
CIE-LCHlch(42.82, 47.85, 284.56°)
OKLaboklab(51.1% -0.0184 -0.1323)
OKLCHoklch(51.1% 0.134 262.1)
XYZxyz(14.2398, 13.0362, 43.8766)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A63B2 #B2893A
analogous
#3A9FB2 #3A63B2 #4D3AB2
triadic
#3A63B2 #B23A63 #63B23A
tetradic
#3A63B2 #B23A9F #B2893A #3AB24D
square
#3A63B2 #B23A9F #B2893A #3AB24D
split-complementary
#3A63B2 #B24D3A #9FB23A
monochromatic
#1C3056 #2B4984 #3A63B2 #5F83CB #8DA7DA

Accessibility & contrast

On white

5.82
#3A63B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3A63B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A63B2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A63B2#FFFFFF#000000##FFFFFF
##3A63B21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#2860B0
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3a63b2;
/* rgb */ color: rgb(58, 99, 178);
/* oklch */ color: oklch(51.1% 0.134 262.1);
Tailwind
colors: {
  custom: {
    50: '#7d8ec9',
    500: '#3a63b2',
    950: '#000000',
  },
}
SCSS
$custom: #3a63b2;
$custom-light: #7d8ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a63b2",
  "rgb": {
    "r": 58,
    "g": 99,
    "b": 178
  },
  "hsl": {
    "h": 219.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51097,
    "c": 0.13361,
    "h": 262.1
  },
  "luminance": 0.13038
}

Semantic roles & 50–950 ramp

primary
#3A63B2
secondary
#C4AE83
accent
#AA4DDA
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3A63B2

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

Preview Lab → · Contrast checker → · Palette generator →

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