#4063CE#4063CE

#4063CE is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.3% C 0.170 H 266.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4063CE
RGBrgb(64, 99, 206)
HSLhsl(225, 59%, 53%)
HSVhsv(225, 69%, 81%)
CMYKcmyk(68.9%, 51.9%, 0%, 19.2%)
CIE-LABlab(44.90, 23.11, -59.19)
CIE-LCHlch(44.90, 63.54, 291.33°)
OKLaboklab(53.34% -0.0093 -0.1701)
OKLCHoklch(53.34% 0.17 266.9)
XYZxyz(17.7129, 14.4681, 60.2397)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063CE #CEAB40
analogous
#40AACE #4063CE #6440CE
triadic
#4063CE #CE4063 #63CE40
tetradic
#4063CE #CE40AA #CEAB40 #40CE64
square
#4063CE #CE40AA #CEAB40 #40CE64
split-complementary
#4063CE #CE6440 #AACE40
monochromatic
#1E3475 #2B49A6 #4063CE #718BDA #A1B3E7

Accessibility & contrast

On white

5.39
#4063CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4063CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4063CE#FFFFFF#000000##FFFFFF
##4063CE1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E71D2
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4063ce;
/* rgb */ color: rgb(64, 99, 206);
/* oklch */ color: oklch(53.3% 0.170 266.9);
Tailwind
colors: {
  custom: {
    50: '#858ede',
    500: '#4063ce',
    950: '#000000',
  },
}
SCSS
$custom: #4063ce;
$custom-light: #858ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4063ce",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 206
  },
  "hsl": {
    "h": 225.211,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53338,
    "c": 0.17037,
    "h": 266.9
  },
  "luminance": 0.1447
}

Semantic roles & 50–950 ramp

primary
#4063CE
secondary
#D4C496
accent
#BC45E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4063CE

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

Preview Lab → · Contrast checker → · Palette generator →

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