#4063DC#4063DC

#4063DC is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.4% C 0.189 H 267.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4063DC
RGBrgb(64, 99, 220)
HSLhsl(227, 69%, 56%)
HSVhsv(227, 71%, 86%)
CMYKcmyk(70.9%, 55%, 0%, 13.7%)
CIE-LABlab(45.88, 28.13, -65.60)
CIE-LCHlch(45.88, 71.37, 293.21°)
OKLaboklab(54.39% -0.0083 -0.1889)
OKLCHoklch(54.39% 0.189 267.5)
XYZxyz(19.4900, 15.1790, 69.5990)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063DC #DCB940
analogous
#40B1DC #4063DC #6B40DC
triadic
#4063DC #DC4063 #63DC40
tetradic
#4063DC #DC40B1 #DCB940 #40DC6B
square
#4063DC #DC40B1 #DCB940 #40DC6B
split-complementary
#4063DC #DC6B40 #B1DC40
monochromatic
#193289 #2345BC #4063DC #748DE5 #A7B7EF

Accessibility & contrast

On white

5.20
#4063DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4063DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4063DC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4063DC#FFFFFF#000000##FFFFFF
##4063DC1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#008196
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4063dc;
/* rgb */ color: rgb(64, 99, 220);
/* oklch */ color: oklch(54.4% 0.189 267.5);
Tailwind
colors: {
  custom: {
    50: '#888ee8',
    500: '#4063dc',
    950: '#000000',
  },
}
SCSS
$custom: #4063dc;
$custom-light: #888ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4063dc",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 220
  },
  "hsl": {
    "h": 226.538,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5439,
    "c": 0.18913,
    "h": 267.5
  },
  "luminance": 0.15181
}

Semantic roles & 50–950 ramp

primary
#4063DC
secondary
#DCCE9B
accent
#C43CEC
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4063DC

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

Preview Lab → · Contrast checker → · Palette generator →

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