#4063BF#4063BF

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

Color values

HEX#4063BF
RGBrgb(64, 99, 191)
HSLhsl(223, 50%, 50%)
HSVhsv(223, 66%, 75%)
CMYKcmyk(66.5%, 48.2%, 0%, 25.1%)
CIE-LABlab(43.91, 17.73, -52.13)
CIE-LCHlch(43.91, 55.06, 288.78°)
OKLaboklab(52.27% -0.011 -0.1493)
OKLCHoklch(52.27% 0.15 265.8)
XYZxyz(15.9769, 13.7737, 51.0967)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063BF #BF9C40
analogous
#40A2BF #4063BF #5D40BF
triadic
#4063BF #BF4063 #63BF40
tetradic
#4063BF #BF40A2 #BF9C40 #40BF5D
square
#4063BF #BF40A2 #BF9C40 #40BF5D
split-complementary
#4063BF #BF5D40 #A2BF40
monochromatic
#213363 #314B91 #4063BF #6E88CE #9CAEDE

Accessibility & contrast

On white

5.59
#4063BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4063BF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4063BF#FFFFFF#000000##FFFFFF
##4063BF1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326EC2
Deuteranopia (green-blind)
#1562BD
Tritanopia (blue-blind)
#007888
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4063bf;
/* rgb */ color: rgb(64, 99, 191);
/* oklch */ color: oklch(52.3% 0.150 265.8);
Tailwind
colors: {
  custom: {
    50: '#828ed3',
    500: '#4063bf',
    950: '#000000',
  },
}
SCSS
$custom: #4063bf;
$custom-light: #828ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#4063bf",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 191
  },
  "hsl": {
    "h": 223.465,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.52269,
    "c": 0.14975,
    "h": 265.8
  },
  "luminance": 0.13775
}

Semantic roles & 50–950 ramp

primary
#4063BF
secondary
#CABA91
accent
#B34ED9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4063BF

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

Preview Lab → · Contrast checker → · Palette generator →

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