#4063D3#4063D3

#4063D3 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.7% C 0.177 H 267.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4063D3
RGBrgb(64, 99, 211)
HSLhsl(226, 63%, 54%)
HSVhsv(226, 70%, 83%)
CMYKcmyk(69.7%, 53.1%, 0%, 17.3%)
CIE-LABlab(45.24, 24.90, -61.50)
CIE-LCHlch(45.24, 66.35, 292.05°)
OKLaboklab(53.71% -0.0089 -0.1769)
OKLCHoklch(53.71% 0.177 267.1)
XYZxyz(18.3300, 14.7150, 63.4896)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063D3 #D3B040
analogous
#40ADD3 #4063D3 #6740D3
triadic
#4063D3 #D34063 #63D340
tetradic
#4063D3 #D340AD #D3B040 #40D367
square
#4063D3 #D340AD #D3B040 #40D367
split-complementary
#4063D3 #D36740 #ADD340
monochromatic
#1D337C #2848AE #4063D3 #728CDE #A3B4EA

Accessibility & contrast

On white

5.33
#4063D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4063D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4063D3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4063D3#FFFFFF#000000##FFFFFF
##4063D31.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1172D7
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#007E91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4063d3;
/* rgb */ color: rgb(64, 99, 211);
/* oklch */ color: oklch(53.7% 0.177 267.1);
Tailwind
colors: {
  custom: {
    50: '#868ee1',
    500: '#4063d3',
    950: '#000000',
  },
}
SCSS
$custom: #4063d3;
$custom-light: #868ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#4063d3",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 211
  },
  "hsl": {
    "h": 225.714,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53708,
    "c": 0.17712,
    "h": 267.1
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4063D3

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

Preview Lab → · Contrast checker → · Palette generator →

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