#3A63AB#3A63AB

#3A63AB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.6% C 0.124 H 260.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3A63AB
RGBrgb(58, 99, 171)
HSLhsl(218, 49%, 45%)
HSVhsv(218, 66%, 67%)
CMYKcmyk(66.1%, 42.1%, 0%, 32.9%)
CIE-LABlab(42.40, 9.49, -42.87)
CIE-LCHlch(42.40, 43.90, 282.49°)
OKLaboklab(50.64% -0.0197 -0.1222)
OKLCHoklch(50.64% 0.124 260.8)
XYZxyz(13.5548, 12.7622, 40.2692)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A63AB #AB823A
analogous
#3A9CAB #3A63AB #493AAB
triadic
#3A63AB #AB3A63 #63AB3A
tetradic
#3A63AB #AB3A9C #AB823A #3AAB49
square
#3A63AB #AB3A9C #AB823A #3AAB49
split-complementary
#3A63AB #AB493A #9CAB3A
monochromatic
#1B2E50 #2A497D #3A63AB #5B82C7 #89A5D7

Accessibility & contrast

On white

5.91
#3A63AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3A63AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A63AB
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A63AB#FFFFFF#000000##FFFFFF
##3A63AB1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426AAE
Deuteranopia (green-blind)
#305FAA
Tritanopia (blue-blind)
#00737E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a63ab;
/* rgb */ color: rgb(58, 99, 171);
/* oklch */ color: oklch(50.6% 0.124 260.8);
Tailwind
colors: {
  custom: {
    50: '#7c8ec4',
    500: '#3a63ab',
    950: '#000000',
  },
}
SCSS
$custom: #3a63ab;
$custom-light: #7c8ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a63ab",
  "rgb": {
    "r": 58,
    "g": 99,
    "b": 171
  },
  "hsl": {
    "h": 218.23,
    "s": 49.345,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50642,
    "c": 0.12379,
    "h": 260.8
  },
  "luminance": 0.12763
}

Semantic roles & 50–950 ramp

primary
#3A63AB
secondary
#C1A980
accent
#A74FD9
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3A63AB

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

Preview Lab → · Contrast checker → · Palette generator →

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