#4063CB#4063CB

#4063CB is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.1% C 0.166 H 266.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4063CB
RGBrgb(64, 99, 203)
HSLhsl(225, 57%, 52%)
HSVhsv(225, 68%, 80%)
CMYKcmyk(68.5%, 51.2%, 0%, 20.4%)
CIE-LABlab(44.69, 22.03, -57.80)
CIE-LCHlch(44.69, 61.85, 290.87°)
OKLaboklab(53.12% -0.0096 -0.166)
OKLCHoklch(53.12% 0.166 266.7)
XYZxyz(17.3519, 14.3238, 58.3386)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063CB #CBA840
analogous
#40A9CB #4063CB #6240CB
triadic
#4063CB #CB4063 #63CB40
tetradic
#4063CB #CB40A9 #CBA840 #40CB62
square
#4063CB #CB40A9 #CBA840 #40CB62
split-complementary
#4063CB #CB6240 #A9CB40
monochromatic
#1F3472 #2C4AA2 #4063CB #708AD8 #A0B2E5

Accessibility & contrast

On white

5.43
#4063CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4063CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4063CB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4063CB#FFFFFF#000000##FFFFFF
##4063CB1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2370CF
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#007C8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4063cb;
/* rgb */ color: rgb(64, 99, 203);
/* oklch */ color: oklch(53.1% 0.166 266.7);
Tailwind
colors: {
  custom: {
    50: '#858edb',
    500: '#4063cb',
    950: '#000000',
  },
}
SCSS
$custom: #4063cb;
$custom-light: #858edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4063cb",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 203
  },
  "hsl": {
    "h": 224.892,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53119,
    "c": 0.16628,
    "h": 266.7
  },
  "luminance": 0.14325
}

Semantic roles & 50–950 ramp

primary
#4063CB
secondary
#D2C295
accent
#BA47E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4063CB

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

Preview Lab → · Contrast checker → · Palette generator →

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