#4063CF#4063CF

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

Color values

HEX#4063CF
RGBrgb(64, 99, 207)
HSLhsl(225, 60%, 53%)
HSVhsv(225, 69%, 81%)
CMYKcmyk(69.1%, 52.2%, 0%, 18.8%)
CIE-LABlab(44.97, 23.47, -59.66)
CIE-LCHlch(44.97, 64.11, 291.48°)
OKLaboklab(53.41% -0.0092 -0.1715)
OKLCHoklch(53.41% 0.172 266.9)
XYZxyz(17.8348, 14.5169, 60.8815)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063CF #CFAC40
analogous
#40AACF #4063CF #6440CF
triadic
#4063CF #CF4063 #63CF40
tetradic
#4063CF #CF40AA #CFAC40 #40CF64
square
#4063CF #CF40AA #CFAC40 #40CF64
split-complementary
#4063CF #CF6440 #AACF40
monochromatic
#1E3477 #2A49A8 #4063CF #718BDB #A2B3E8

Accessibility & contrast

On white

5.38
#4063CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4063CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4063CF#FFFFFF#000000##FFFFFF
##4063CF1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C71D3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#007D8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4063cf;
/* rgb */ color: rgb(64, 99, 207);
/* oklch */ color: oklch(53.4% 0.172 266.9);
Tailwind
colors: {
  custom: {
    50: '#858ede',
    500: '#4063cf',
    950: '#000000',
  },
}
SCSS
$custom: #4063cf;
$custom-light: #858ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4063cf",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 207
  },
  "hsl": {
    "h": 225.315,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53412,
    "c": 0.17172,
    "h": 266.9
  },
  "luminance": 0.14519
}

Semantic roles & 50–950 ramp

primary
#4063CF
secondary
#D4C597
accent
#BC45E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4063CF

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

Preview Lab → · Contrast checker → · Palette generator →

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