#4063C5#4063C5

#4063C5 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.7% C 0.158 H 266.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4063C5
RGBrgb(64, 99, 197)
HSLhsl(224, 53%, 51%)
HSVhsv(224, 68%, 77%)
CMYKcmyk(67.5%, 49.7%, 0%, 22.7%)
CIE-LABlab(44.30, 19.88, -54.98)
CIE-LCHlch(44.30, 58.46, 289.88°)
OKLaboklab(52.69% -0.0103 -0.1577)
OKLCHoklch(52.69% 0.158 266.3)
XYZxyz(16.6507, 14.0433, 54.6456)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063C5 #C5A240
analogous
#40A5C5 #4063C5 #5F40C5
triadic
#4063C5 #C54063 #63C540
tetradic
#4063C5 #C540A5 #C5A240 #40C55F
square
#4063C5 #C540A5 #C5A240 #40C55F
split-complementary
#4063C5 #C55F40 #A5C540
monochromatic
#20346A #2F4B99 #4063C5 #6F89D3 #9EB0E2

Accessibility & contrast

On white

5.51
#4063C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4063C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4063C5
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4063C5#FFFFFF#000000##FFFFFF
##4063C51.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4063c5;
/* rgb */ color: rgb(64, 99, 197);
/* oklch */ color: oklch(52.7% 0.158 266.3);
Tailwind
colors: {
  custom: {
    50: '#838ed7',
    500: '#4063c5',
    950: '#000000',
  },
}
SCSS
$custom: #4063c5;
$custom-light: #838ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#4063c5",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 197
  },
  "hsl": {
    "h": 224.211,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52689,
    "c": 0.15805,
    "h": 266.3
  },
  "luminance": 0.14045
}

Semantic roles & 50–950 ramp

primary
#4063C5
secondary
#CEBE93
accent
#B64BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4063C5

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

Preview Lab → · Contrast checker → · Palette generator →

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