#4063C6#4063C6

#4063C6 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.8% C 0.159 H 266.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4063C6
RGBrgb(64, 99, 198)
HSLhsl(224, 54%, 51%)
HSVhsv(224, 68%, 78%)
CMYKcmyk(67.7%, 50%, 0%, 22.4%)
CIE-LABlab(44.36, 20.24, -55.45)
CIE-LCHlch(44.36, 59.03, 290.05°)
OKLaboklab(52.76% -0.0101 -0.1591)
OKLCHoklch(52.76% 0.159 266.3)
XYZxyz(16.7657, 14.0893, 55.2511)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063C6 #C6A340
analogous
#40A6C6 #4063C6 #6040C6
triadic
#4063C6 #C64063 #63C640
tetradic
#4063C6 #C640A6 #C6A340 #40C660
square
#4063C6 #C640A6 #C6A340 #40C660
split-complementary
#4063C6 #C66040 #A6C640
monochromatic
#20346C #2E4A9B #4063C6 #6F89D4 #9EB0E2

Accessibility & contrast

On white

5.50
#4063C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4063C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4063C6
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4063C6#FFFFFF#000000##FFFFFF
##4063C61.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6FCA
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#007A8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4063c6;
/* rgb */ color: rgb(64, 99, 198);
/* oklch */ color: oklch(52.8% 0.159 266.3);
Tailwind
colors: {
  custom: {
    50: '#848ed8',
    500: '#4063c6',
    950: '#000000',
  },
}
SCSS
$custom: #4063c6;
$custom-light: #848ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#4063c6",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 198
  },
  "hsl": {
    "h": 224.328,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5276,
    "c": 0.15943,
    "h": 266.3
  },
  "luminance": 0.14091
}

Semantic roles & 50–950 ramp

primary
#4063C6
secondary
#CEBF93
accent
#B74ADD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4063C6

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

Preview Lab → · Contrast checker → · Palette generator →

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