#4063AA#4063AA

#4063AA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 50.9% C 0.120 H 263.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4063AA
RGBrgb(64, 99, 170)
HSLhsl(220, 45%, 46%)
HSVhsv(220, 62%, 67%)
CMYKcmyk(62.4%, 41.8%, 0%, 33.3%)
CIE-LABlab(42.63, 10.25, -41.89)
CIE-LCHlch(42.63, 43.13, 283.75°)
OKLaboklab(50.88% -0.0146 -0.1192)
OKLCHoklch(50.88% 0.12 263)
XYZxyz(13.8294, 12.9147, 39.7864)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063AA #AA8740
analogous
#4098AA #4063AA #5240AA
triadic
#4063AA #AA4063 #63AA40
tetradic
#4063AA #AA4098 #AA8740 #40AA52
square
#4063AA #AA4098 #AA8740 #40AA52
split-complementary
#4063AA #AA5240 #98AA40
monochromatic
#1F2F51 #2F497E #4063AA #6383C4 #8FA6D5

Accessibility & contrast

On white

5.86
#4063AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4063AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4063AA#FFFFFF#000000##FFFFFF
##4063AA1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4063aa;
/* rgb */ color: rgb(64, 99, 170);
/* oklch */ color: oklch(50.9% 0.120 263.0);
Tailwind
colors: {
  custom: {
    50: '#7f8fc4',
    500: '#4063aa',
    950: '#000000',
  },
}
SCSS
$custom: #4063aa;
$custom-light: #7f8fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4063aa",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 170
  },
  "hsl": {
    "h": 220.189,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50881,
    "c": 0.12013,
    "h": 263
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#4063AA
secondary
#C0AD86
accent
#AA53D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4063AA

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

Preview Lab → · Contrast checker → · Palette generator →

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