#4063B8#4063B8

#4063B8 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.8% C 0.140 H 265.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4063B8
RGBrgb(64, 99, 184)
HSLhsl(223, 48%, 49%)
HSVhsv(223, 65%, 72%)
CMYKcmyk(65.2%, 46.2%, 0%, 27.8%)
CIE-LABlab(43.47, 15.22, -48.77)
CIE-LCHlch(43.47, 51.09, 287.33°)
OKLaboklab(51.79% -0.012 -0.1394)
OKLCHoklch(51.79% 0.14 265.1)
XYZxyz(15.2249, 13.4729, 47.1363)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4063B8 #B89540
analogous
#409FB8 #4063B8 #5940B8
triadic
#4063B8 #B84063 #63B840
tetradic
#4063B8 #B8409F #B89540 #40B859
square
#4063B8 #B8409F #B89540 #40B859
split-complementary
#4063B8 #B85940 #9FB840
monochromatic
#20325D #304B8B #4063B8 #6A86CB #97ABDB

Accessibility & contrast

On white

5.68
#4063B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4063B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4063B8
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4063B8#FFFFFF#000000##FFFFFF
##4063B81.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396DBB
Deuteranopia (green-blind)
#2362B6
Tritanopia (blue-blind)
#007784
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4063b8;
/* rgb */ color: rgb(64, 99, 184);
/* oklch */ color: oklch(51.8% 0.140 265.1);
Tailwind
colors: {
  custom: {
    50: '#818ece',
    500: '#4063b8',
    950: '#000000',
  },
}
SCSS
$custom: #4063b8;
$custom-light: #818ece;
$custom-dark: #000000;
JSON
{
  "hex": "#4063b8",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 184
  },
  "hsl": {
    "h": 222.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51792,
    "c": 0.13996,
    "h": 265.1
  },
  "luminance": 0.13474
}

Semantic roles & 50–950 ramp

primary
#4063B8
secondary
#C7B68D
accent
#B050D8
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4063B8

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

Preview Lab → · Contrast checker → · Palette generator →

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