#3A63BA#3A63BA

#3A63BA is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.6% C 0.145 H 263.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#3A63BA
RGBrgb(58, 99, 186)
HSLhsl(221, 52%, 48%)
HSVhsv(221, 69%, 73%)
CMYKcmyk(68.8%, 46.8%, 0%, 27.1%)
CIE-LABlab(43.31, 14.95, -50.20)
CIE-LCHlch(43.31, 52.38, 286.58°)
OKLaboklab(51.64% -0.017 -0.1438)
OKLCHoklch(51.64% 0.145 263.3)
XYZxyz(15.0666, 13.3669, 48.2309)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A63BA #BA913A
analogous
#3AA3BA #3A63BA #513ABA
triadic
#3A63BA #BA3A63 #63BA3A
tetradic
#3A63BA #BA3AA3 #BA913A #3ABA51
square
#3A63BA #BA3AA3 #BA913A #3ABA51
split-complementary
#3A63BA #BA513A #A3BA3A
monochromatic
#1D315D #2B4A8B #3A63BA #6385CE #92AADD

Accessibility & contrast

On white

5.72
#3A63BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3A63BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A63BA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A63BA#FFFFFF#000000##FFFFFF
##3A63BA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBD
Deuteranopia (green-blind)
#1B61B8
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3a63ba;
/* rgb */ color: rgb(58, 99, 186);
/* oklch */ color: oklch(51.6% 0.145 263.3);
Tailwind
colors: {
  custom: {
    50: '#7f8ecf',
    500: '#3a63ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a63ba;
$custom-light: #7f8ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a63ba",
  "rgb": {
    "r": 58,
    "g": 99,
    "b": 186
  },
  "hsl": {
    "h": 220.781,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51635,
    "c": 0.14476,
    "h": 263.3
  },
  "luminance": 0.13368
}

Semantic roles & 50–950 ramp

primary
#3A63BA
secondary
#C8B388
accent
#AE4CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3A63BA

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

Preview Lab → · Contrast checker → · Palette generator →

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