#4063AC#4063AC

#4063AC is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.0% C 0.123 H 263.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4063AC
RGBrgb(64, 99, 172)
HSLhsl(221, 46%, 46%)
HSVhsv(221, 63%, 67%)
CMYKcmyk(62.8%, 42.4%, 0%, 32.5%)
CIE-LABlab(42.75, 10.95, -42.88)
CIE-LCHlch(42.75, 44.26, 284.33°)
OKLaboklab(51.01% -0.0142 -0.1222)
OKLCHoklch(51.01% 0.123 263.4)
XYZxyz(14.0200, 12.9910, 40.7904)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063AC #AC8940
analogous
#4099AC #4063AC #5340AC
triadic
#4063AC #AC4063 #63AC40
tetradic
#4063AC #AC4099 #AC8940 #40AC53
square
#4063AC #AC4099 #AC8940 #40AC53
split-complementary
#4063AC #AC5340 #99AC40
monochromatic
#1F3053 #2F497F #4063AC #6483C5 #91A7D6

Accessibility & contrast

On white

5.84
#4063AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4063AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4063AC#FFFFFF#000000##FFFFFF
##4063AC1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426AAF
Deuteranopia (green-blind)
#3260AA
Tritanopia (blue-blind)
#00737F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4063ac;
/* rgb */ color: rgb(64, 99, 172);
/* oklch */ color: oklch(51.0% 0.123 263.4);
Tailwind
colors: {
  custom: {
    50: '#7f8fc5',
    500: '#4063ac',
    950: '#000000',
  },
}
SCSS
$custom: #4063ac;
$custom-light: #7f8fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4063ac",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 172
  },
  "hsl": {
    "h": 220.556,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51008,
    "c": 0.12298,
    "h": 263.4
  },
  "luminance": 0.12992
}

Semantic roles & 50–950 ramp

primary
#4063AC
secondary
#C1AE87
accent
#AB52D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4063AC

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

Preview Lab → · Contrast checker → · Palette generator →

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