#4063C8#4063C8

#4063C8 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.9% C 0.162 H 266.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4063C8
RGBrgb(64, 99, 200)
HSLhsl(225, 55%, 52%)
HSVhsv(225, 68%, 78%)
CMYKcmyk(68%, 50.5%, 0%, 21.6%)
CIE-LABlab(44.49, 20.96, -56.39)
CIE-LCHlch(44.49, 60.16, 290.39°)
OKLaboklab(52.9% -0.0099 -0.1619)
OKLCHoklch(52.9% 0.162 266.5)
XYZxyz(16.9979, 14.1821, 56.4740)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063C8 #C8A540
analogous
#40A7C8 #4063C8 #6140C8
triadic
#4063C8 #C84063 #63C840
tetradic
#4063C8 #C840A7 #C8A540 #40C861
square
#4063C8 #C840A7 #C8A540 #40C861
split-complementary
#4063C8 #C86140 #A7C840
monochromatic
#20346E #2D4A9D #4063C8 #708AD6 #9FB1E3

Accessibility & contrast

On white

5.47
#4063C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4063C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4063C8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4063C8#FFFFFF#000000##FFFFFF
##4063C81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2870CC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#007B8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4063c8;
/* rgb */ color: rgb(64, 99, 200);
/* oklch */ color: oklch(52.9% 0.162 266.5);
Tailwind
colors: {
  custom: {
    50: '#848ed9',
    500: '#4063c8',
    950: '#000000',
  },
}
SCSS
$custom: #4063c8;
$custom-light: #848ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4063c8",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 200
  },
  "hsl": {
    "h": 224.559,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52903,
    "c": 0.16217,
    "h": 266.5
  },
  "luminance": 0.14184
}

Semantic roles & 50–950 ramp

primary
#4063C8
secondary
#D0C094
accent
#B849DF
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4063C8

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

Preview Lab → · Contrast checker → · Palette generator →

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