#4063C0#4063C0

#4063C0 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.3% C 0.151 H 265.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4063C0
RGBrgb(64, 99, 192)
HSLhsl(224, 50%, 50%)
HSVhsv(224, 67%, 75%)
CMYKcmyk(66.7%, 48.4%, 0%, 24.7%)
CIE-LABlab(43.97, 18.08, -52.61)
CIE-LCHlch(43.97, 55.63, 288.97°)
OKLaboklab(52.34% -0.0109 -0.1507)
OKLCHoklch(52.34% 0.151 265.9)
XYZxyz(16.0873, 13.8179, 51.6783)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063C0 #C09D40
analogous
#40A3C0 #4063C0 #5D40C0
triadic
#4063C0 #C04063 #63C040
tetradic
#4063C0 #C040A3 #C09D40 #40C05D
square
#4063C0 #C040A3 #C09D40 #40C05D
split-complementary
#4063C0 #C05D40 #A3C040
monochromatic
#213464 #304B92 #4063C0 #6E89CF #9CAEDE

Accessibility & contrast

On white

5.58
#4063C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4063C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4063C0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4063C0#FFFFFF#000000##FFFFFF
##4063C01.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316EC3
Deuteranopia (green-blind)
#1262BE
Tritanopia (blue-blind)
#007988
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4063c0;
/* rgb */ color: rgb(64, 99, 192);
/* oklch */ color: oklch(52.3% 0.151 265.9);
Tailwind
colors: {
  custom: {
    50: '#838ed4',
    500: '#4063c0',
    950: '#000000',
  },
}
SCSS
$custom: #4063c0;
$custom-light: #838ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#4063c0",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 192
  },
  "hsl": {
    "h": 223.594,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52338,
    "c": 0.15113,
    "h": 265.9
  },
  "luminance": 0.13819
}

Semantic roles & 50–950 ramp

primary
#4063C0
secondary
#CBBB91
accent
#B44EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4063C0

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

Preview Lab → · Contrast checker → · Palette generator →

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