#3A63AC#3A63AC

#3A63AC is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.7% C 0.125 H 261.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#3A63AC
RGBrgb(58, 99, 172)
HSLhsl(218, 50%, 45%)
HSVhsv(218, 66%, 67%)
CMYKcmyk(66.3%, 42.4%, 0%, 32.5%)
CIE-LABlab(42.46, 9.86, -43.36)
CIE-LCHlch(42.46, 44.47, 282.80°)
OKLaboklab(50.71% -0.0195 -0.1237)
OKLCHoklch(50.71% 0.125 261)
XYZxyz(13.6505, 12.8005, 40.7731)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A63AC #AC833A
analogous
#3A9CAC #3A63AC #4A3AAC
triadic
#3A63AC #AC3A63 #63AC3A
tetradic
#3A63AC #AC3A9C #AC833A #3AAC4A
square
#3A63AC #AC3A9C #AC833A #3AAC4A
split-complementary
#3A63AC #AC4A3A #9CAC3A
monochromatic
#1B2E50 #2B497E #3A63AC #5B82C8 #89A5D7

Accessibility & contrast

On white

5.90
#3A63AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#3A63AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A63AC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A63AC#FFFFFF#000000##FFFFFF
##3A63AC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416AAF
Deuteranopia (green-blind)
#2F5FAA
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a63ac;
/* rgb */ color: rgb(58, 99, 172);
/* oklch */ color: oklch(50.7% 0.125 261.0);
Tailwind
colors: {
  custom: {
    50: '#7c8ec5',
    500: '#3a63ac',
    950: '#000000',
  },
}
SCSS
$custom: #3a63ac;
$custom-light: #7c8ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a63ac",
  "rgb": {
    "r": 58,
    "g": 99,
    "b": 172
  },
  "hsl": {
    "h": 218.421,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.1252,
    "h": 261
  },
  "luminance": 0.12802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A63AC

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

Preview Lab → · Contrast checker → · Palette generator →

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