#4063D4#4063D4

#4063D4 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.8% C 0.178 H 267.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4063D4
RGBrgb(64, 99, 212)
HSLhsl(226, 63%, 54%)
HSVhsv(226, 70%, 83%)
CMYKcmyk(69.8%, 53.3%, 0%, 16.9%)
CIE-LABlab(45.31, 25.26, -61.96)
CIE-LCHlch(45.31, 66.91, 292.18°)
OKLaboklab(53.78% -0.0088 -0.1782)
OKLCHoklch(53.78% 0.178 267.2)
XYZxyz(18.4557, 14.7653, 64.1519)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063D4 #D4B140
analogous
#40ADD4 #4063D4 #6740D4
triadic
#4063D4 #D44063 #63D440
tetradic
#4063D4 #D440AD #D4B140 #40D467
square
#4063D4 #D440AD #D4B140 #40D467
split-complementary
#4063D4 #D46740 #ADD440
monochromatic
#1C337D #2748AF #4063D4 #728CDF #A4B5EA

Accessibility & contrast

On white

5.31
#4063D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4063D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4063D4
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4063D4#FFFFFF#000000##FFFFFF
##4063D41.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E72D8
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#007E92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4063d4;
/* rgb */ color: rgb(64, 99, 212);
/* oklch */ color: oklch(53.8% 0.178 267.2);
Tailwind
colors: {
  custom: {
    50: '#868ee2',
    500: '#4063d4',
    950: '#000000',
  },
}
SCSS
$custom: #4063d4;
$custom-light: #868ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#4063d4",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 212
  },
  "hsl": {
    "h": 225.811,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53783,
    "c": 0.17847,
    "h": 267.2
  },
  "luminance": 0.14767
}

Semantic roles & 50–950 ramp

primary
#4063D4
secondary
#D7C898
accent
#BF42E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4063D4

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

Preview Lab → · Contrast checker → · Palette generator →

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