#4063D1#4063D1

#4063D1 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.6% C 0.174 H 267.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4063D1
RGBrgb(64, 99, 209)
HSLhsl(226, 61%, 54%)
HSVhsv(226, 69%, 82%)
CMYKcmyk(69.4%, 52.6%, 0%, 18%)
CIE-LABlab(45.10, 24.19, -60.58)
CIE-LCHlch(45.10, 65.23, 291.77°)
OKLaboklab(53.56% -0.0091 -0.1742)
OKLCHoklch(53.56% 0.174 267)
XYZxyz(18.0808, 14.6153, 62.1774)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063D1 #D1AE40
analogous
#40ABD1 #4063D1 #6540D1
triadic
#4063D1 #D14063 #63D140
tetradic
#4063D1 #D140AB #D1AE40 #40D165
square
#4063D1 #D140AB #D1AE40 #40D165
split-complementary
#4063D1 #D16540 #ABD140
monochromatic
#1D3379 #2948AB #4063D1 #718BDD #A3B4E9

Accessibility & contrast

On white

5.35
#4063D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4063D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4063D1#FFFFFF#000000##FFFFFF
##4063D11.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1772D5
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#007D90
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4063d1;
/* rgb */ color: rgb(64, 99, 209);
/* oklch */ color: oklch(53.6% 0.174 267.0);
Tailwind
colors: {
  custom: {
    50: '#868ee0',
    500: '#4063d1',
    950: '#000000',
  },
}
SCSS
$custom: #4063d1;
$custom-light: #868ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#4063d1",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 209
  },
  "hsl": {
    "h": 225.517,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53559,
    "c": 0.17443,
    "h": 267
  },
  "luminance": 0.14617
}

Semantic roles & 50–950 ramp

primary
#4063D1
secondary
#D5C697
accent
#BD44E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4063D1

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

Preview Lab → · Contrast checker → · Palette generator →

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