#4063BB#4063BB

#4063BB is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.0% C 0.144 H 265.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4063BB
RGBrgb(64, 99, 187)
HSLhsl(223, 49%, 49%)
HSVhsv(223, 66%, 73%)
CMYKcmyk(65.8%, 47.1%, 0%, 26.7%)
CIE-LABlab(43.65, 16.29, -50.21)
CIE-LCHlch(43.65, 52.79, 287.98°)
OKLaboklab(51.99% -0.0116 -0.1437)
OKLCHoklch(51.99% 0.144 265.4)
XYZxyz(15.5427, 13.6001, 48.8101)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063BB #BB9840
analogous
#40A1BB #4063BB #5B40BB
triadic
#4063BB #BB4063 #63BB40
tetradic
#4063BB #BB40A1 #BB9840 #40BB5B
square
#4063BB #BB40A1 #BB9840 #40BB5B
split-complementary
#4063BB #BB5B40 #A1BB40
monochromatic
#213360 #304B8D #4063BB #6C87CD #99ACDC

Accessibility & contrast

On white

5.64
#4063BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4063BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4063BB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4063BB#FFFFFF#000000##FFFFFF
##4063BB1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBE
Deuteranopia (green-blind)
#1E62B9
Tritanopia (blue-blind)
#007786
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4063bb;
/* rgb */ color: rgb(64, 99, 187);
/* oklch */ color: oklch(52.0% 0.144 265.4);
Tailwind
colors: {
  custom: {
    50: '#828ed0',
    500: '#4063bb',
    950: '#000000',
  },
}
SCSS
$custom: #4063bb;
$custom-light: #828ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4063bb",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 187
  },
  "hsl": {
    "h": 222.927,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51994,
    "c": 0.14417,
    "h": 265.4
  },
  "luminance": 0.13602
}

Semantic roles & 50–950 ramp

primary
#4063BB
secondary
#C8B88F
accent
#B14FD9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #4063BB

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

Preview Lab → · Contrast checker → · Palette generator →

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