#4063AF#4063AF

#4063AF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.2% C 0.127 H 263.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4063AF
RGBrgb(64, 99, 175)
HSLhsl(221, 46%, 47%)
HSVhsv(221, 63%, 69%)
CMYKcmyk(63.4%, 43.4%, 0%, 31.4%)
CIE-LABlab(42.92, 12.02, -44.37)
CIE-LCHlch(42.92, 45.97, 285.15°)
OKLaboklab(51.2% -0.0136 -0.1265)
OKLCHoklch(51.2% 0.127 263.9)
XYZxyz(14.3114, 13.1075, 42.3249)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063AF #AF8C40
analogous
#409BAF #4063AF #5440AF
triadic
#4063AF #AF4063 #63AF40
tetradic
#4063AF #AF409B #AF8C40 #40AF54
square
#4063AF #AF409B #AF8C40 #40AF54
split-complementary
#4063AF #AF5440 #9BAF40
monochromatic
#1F3055 #304A82 #4063AF #6584C7 #92A8D7

Accessibility & contrast

On white

5.80
#4063AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4063AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4063AF#FFFFFF#000000##FFFFFF
##4063AF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#2F61AD
Tritanopia (blue-blind)
#007480
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4063af;
/* rgb */ color: rgb(64, 99, 175);
/* oklch */ color: oklch(51.2% 0.127 263.9);
Tailwind
colors: {
  custom: {
    50: '#7f8fc7',
    500: '#4063af',
    950: '#000000',
  },
}
SCSS
$custom: #4063af;
$custom-light: #7f8fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4063af",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 175
  },
  "hsl": {
    "h": 221.081,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51199,
    "c": 0.12724,
    "h": 263.9
  },
  "luminance": 0.13109
}

Semantic roles & 50–950 ramp

primary
#4063AF
secondary
#C3B088
accent
#AC52D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4063AF

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

Preview Lab → · Contrast checker → · Palette generator →

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