#3A63A2#3A63A2

#3A63A2 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.1% C 0.111 H 258.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#3A63A2
RGBrgb(58, 99, 162)
HSLhsl(216, 47%, 43%)
HSVhsv(216, 64%, 64%)
CMYKcmyk(64.2%, 38.9%, 0%, 36.5%)
CIE-LABlab(41.89, 6.26, -38.36)
CIE-LCHlch(41.89, 38.87, 279.26°)
OKLaboklab(50.08% -0.0217 -0.109)
OKLCHoklch(50.08% 0.111 258.7)
XYZxyz(12.7260, 12.4307, 35.9041)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A63A2 #A2793A
analogous
#3A97A2 #3A63A2 #453AA2
triadic
#3A63A2 #A23A63 #63A23A
tetradic
#3A63A2 #A23A97 #A2793A #3AA245
square
#3A63A2 #A23A97 #A2793A #3AA245
split-complementary
#3A63A2 #A2453A #97A23A
monochromatic
#1A2C48 #2A4775 #3A63A2 #5781C3 #84A3D3

Accessibility & contrast

On white

6.02
#3A63A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#3A63A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A63A2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A63A2#FFFFFF#000000##FFFFFF
##3A63A21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4768A5
Deuteranopia (green-blind)
#395EA1
Tritanopia (blue-blind)
#00717A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3a63a2;
/* rgb */ color: rgb(58, 99, 162);
/* oklch */ color: oklch(50.1% 0.111 258.7);
Tailwind
colors: {
  custom: {
    50: '#7a8fbe',
    500: '#3a63a2',
    950: '#000000',
  },
}
SCSS
$custom: #3a63a2;
$custom-light: #7a8fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3a63a2",
  "rgb": {
    "r": 58,
    "g": 99,
    "b": 162
  },
  "hsl": {
    "h": 216.346,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50081,
    "c": 0.11114,
    "h": 258.7
  },
  "luminance": 0.12432
}

Semantic roles & 50–950 ramp

primary
#3A63A2
secondary
#BDA37B
accent
#A251D7
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3A63A2

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

Preview Lab → · Contrast checker → · Palette generator →

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