#4063CC#4063CC

#4063CC is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.2% C 0.168 H 266.7°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4063CC
RGBrgb(64, 99, 204)
HSLhsl(225, 58%, 53%)
HSVhsv(225, 69%, 80%)
CMYKcmyk(68.6%, 51.5%, 0%, 20%)
CIE-LABlab(44.76, 22.39, -58.26)
CIE-LCHlch(44.76, 62.42, 291.02°)
OKLaboklab(53.19% -0.0095 -0.1674)
OKLCHoklch(53.19% 0.168 266.7)
XYZxyz(17.4715, 14.3716, 58.9683)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063CC #CCA940
analogous
#40A9CC #4063CC #6340CC
triadic
#4063CC #CC4063 #63CC40
tetradic
#4063CC #CC40A9 #CCA940 #40CC63
square
#4063CC #CC40A9 #CCA940 #40CC63
split-complementary
#4063CC #CC6340 #A9CC40
monochromatic
#1F3473 #2C49A3 #4063CC #708AD9 #A1B2E6

Accessibility & contrast

On white

5.42
#4063CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4063CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4063CC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4063CC#FFFFFF#000000##FFFFFF
##4063CC1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2171D0
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#007C8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4063cc;
/* rgb */ color: rgb(64, 99, 204);
/* oklch */ color: oklch(53.2% 0.168 266.7);
Tailwind
colors: {
  custom: {
    50: '#858edc',
    500: '#4063cc',
    950: '#000000',
  },
}
SCSS
$custom: #4063cc;
$custom-light: #858edc;
$custom-dark: #000000;
JSON
{
  "hex": "#4063cc",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 204
  },
  "hsl": {
    "h": 225,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53192,
    "c": 0.16764,
    "h": 266.7
  },
  "luminance": 0.14373
}

Semantic roles & 50–950 ramp

primary
#4063CC
secondary
#D2C395
accent
#BA47E1
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4063CC

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

Preview Lab → · Contrast checker → · Palette generator →

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