#4063D2#4063D2

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

Color values

HEX#4063D2
RGBrgb(64, 99, 210)
HSLhsl(226, 62%, 54%)
HSVhsv(226, 70%, 82%)
CMYKcmyk(69.5%, 52.9%, 0%, 17.6%)
CIE-LABlab(45.17, 24.55, -61.04)
CIE-LCHlch(45.17, 65.79, 291.91°)
OKLaboklab(53.63% -0.009 -0.1755)
OKLCHoklch(53.63% 0.176 267.1)
XYZxyz(18.2050, 14.6650, 62.8315)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063D2 #D2AF40
analogous
#40ACD2 #4063D2 #6640D2
triadic
#4063D2 #D24063 #63D240
tetradic
#4063D2 #D240AC #D2AF40 #40D266
square
#4063D2 #D240AC #D2AF40 #40D266
split-complementary
#4063D2 #D26640 #ACD240
monochromatic
#1D337B #2948AC #4063D2 #728BDE #A3B4E9

Accessibility & contrast

On white

5.34
#4063D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4063D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4063D2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4063D2#FFFFFF#000000##FFFFFF
##4063D21.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1472D6
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#007E91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4063d2;
/* rgb */ color: rgb(64, 99, 210);
/* oklch */ color: oklch(53.6% 0.176 267.1);
Tailwind
colors: {
  custom: {
    50: '#868ee1',
    500: '#4063d2',
    950: '#000000',
  },
}
SCSS
$custom: #4063d2;
$custom-light: #868ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#4063d2",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 210
  },
  "hsl": {
    "h": 225.616,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53634,
    "c": 0.17577,
    "h": 267.1
  },
  "luminance": 0.14667
}

Semantic roles & 50–950 ramp

primary
#4063D2
secondary
#D6C798
accent
#BE43E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83

Preview Lab

Preview with #4063D2

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

Preview Lab → · Contrast checker → · Palette generator →

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