#4066BD#4066BD

#4066BD is a mid, vivid blue. Relative luminance 0.143; OKLCH L 52.8% C 0.143 H 264.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4066BD
RGBrgb(64, 102, 189)
HSLhsl(222, 49%, 50%)
HSVhsv(222, 66%, 74%)
CMYKcmyk(66.1%, 46%, 0%, 25.9%)
CIE-LABlab(44.61, 15.10, -49.84)
CIE-LCHlch(44.61, 52.08, 286.85°)
OKLaboklab(52.77% -0.0142 -0.1425)
OKLCHoklch(52.77% 0.143 264.3)
XYZxyz(16.0478, 14.2653, 50.0420)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4066BD #BD9740
analogous
#40A5BD #4066BD #5940BD
triadic
#4066BD #BD4066 #66BD40
tetradic
#4066BD #BD40A5 #BD9740 #40BD59
square
#4066BD #BD40A5 #BD9740 #40BD59
split-complementary
#4066BD #BD5940 #A5BD40
monochromatic
#213562 #314D8F #4066BD #6D8ACD #9AAFDD

Accessibility & contrast

On white

5.45
#4066BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4066BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4066BD
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4066BD#FFFFFF#000000##FFFFFF
##4066BD1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B70C0
Deuteranopia (green-blind)
#2364BB
Tritanopia (blue-blind)
#007A88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4066bd;
/* rgb */ color: rgb(64, 102, 189);
/* oklch */ color: oklch(52.8% 0.143 264.3);
Tailwind
colors: {
  custom: {
    50: '#8291d1',
    500: '#4066bd',
    950: '#000000',
  },
}
SCSS
$custom: #4066bd;
$custom-light: #8291d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4066bd",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 221.76,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52767,
    "c": 0.14326,
    "h": 264.3
  },
  "luminance": 0.14267
}

Semantic roles & 50–950 ramp

primary
#4066BD
secondary
#C9B890
accent
#AF4FD9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4066BD

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

Preview Lab → · Contrast checker → · Palette generator →

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