#4066BB#4066BB

#4066BB is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.6% C 0.140 H 264.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4066BB
RGBrgb(64, 102, 187)
HSLhsl(221, 49%, 49%)
HSVhsv(221, 66%, 73%)
CMYKcmyk(65.8%, 45.5%, 0%, 26.7%)
CIE-LABlab(44.49, 14.38, -48.88)
CIE-LCHlch(44.49, 50.95, 286.40°)
OKLaboklab(52.63% -0.0145 -0.1397)
OKLCHoklch(52.63% 0.14 264.1)
XYZxyz(15.8322, 14.1791, 48.9066)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4066BB #BB9540
analogous
#40A4BB #4066BB #5740BB
triadic
#4066BB #BB4066 #66BB40
tetradic
#4066BB #BB40A4 #BB9540 #40BB57
square
#4066BB #BB40A4 #BB9540 #40BB57
split-complementary
#4066BB #BB5740 #A4BB40
monochromatic
#213460 #304D8D #4066BB #6C8ACD #99AEDC

Accessibility & contrast

On white

5.47
#4066BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4066BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4066BB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4066BB#FFFFFF#000000##FFFFFF
##4066BB1.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)
#3C6FBE
Deuteranopia (green-blind)
#2764B9
Tritanopia (blue-blind)
#007A87
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4066bb;
/* rgb */ color: rgb(64, 102, 187);
/* oklch */ color: oklch(52.6% 0.140 264.1);
Tailwind
colors: {
  custom: {
    50: '#8191d0',
    500: '#4066bb',
    950: '#000000',
  },
}
SCSS
$custom: #4066bb;
$custom-light: #8191d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4066bb",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 221.463,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.52634,
    "c": 0.14047,
    "h": 264.1
  },
  "luminance": 0.14181
}

Semantic roles & 50–950 ramp

primary
#4066BB
secondary
#C8B68F
accent
#AE4FD9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #4066BB

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

Preview Lab → · Contrast checker → · Palette generator →

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