#4063AB#4063AB

#4063AB is a mid, vivid blue. Relative luminance 0.130; OKLCH L 50.9% C 0.122 H 263.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4063AB
RGBrgb(64, 99, 171)
HSLhsl(220, 46%, 46%)
HSVhsv(220, 63%, 67%)
CMYKcmyk(62.6%, 42.1%, 0%, 32.9%)
CIE-LABlab(42.69, 10.60, -42.39)
CIE-LCHlch(42.69, 43.69, 284.04°)
OKLaboklab(50.94% -0.0144 -0.1207)
OKLCHoklch(50.94% 0.122 263.2)
XYZxyz(13.9243, 12.9527, 40.2865)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063AB #AB8840
analogous
#4098AB #4063AB #5240AB
triadic
#4063AB #AB4063 #63AB40
tetradic
#4063AB #AB4098 #AB8840 #40AB52
square
#4063AB #AB4098 #AB8840 #40AB52
split-complementary
#4063AB #AB5240 #98AB40
monochromatic
#1F2F52 #2F497E #4063AB #6383C5 #90A7D5

Accessibility & contrast

On white

5.85
#4063AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4063AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4063AB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4063AB#FFFFFF#000000##FFFFFF
##4063AB1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436AAE
Deuteranopia (green-blind)
#3360A9
Tritanopia (blue-blind)
#00737E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4063ab;
/* rgb */ color: rgb(64, 99, 171);
/* oklch */ color: oklch(50.9% 0.122 263.2);
Tailwind
colors: {
  custom: {
    50: '#7f8fc4',
    500: '#4063ab',
    950: '#000000',
  },
}
SCSS
$custom: #4063ab;
$custom-light: #7f8fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4063ab",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 171
  },
  "hsl": {
    "h": 220.374,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50944,
    "c": 0.12155,
    "h": 263.2
  },
  "luminance": 0.12954
}

Semantic roles & 50–950 ramp

primary
#4063AB
secondary
#C1AD86
accent
#AA53D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4063AB

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

Preview Lab → · Contrast checker → · Palette generator →

#4063AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva