#4066CD#4066CD

#4066CD is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.9% C 0.165 H 265.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4066CD
RGBrgb(64, 102, 205)
HSLhsl(224, 59%, 53%)
HSVhsv(224, 69%, 80%)
CMYKcmyk(68.8%, 50.2%, 0%, 19.6%)
CIE-LABlab(45.63, 20.84, -57.43)
CIE-LCHlch(45.63, 61.10, 289.95°)
OKLaboklab(53.87% -0.012 -0.1649)
OKLCHoklch(53.87% 0.165 265.8)
XYZxyz(17.8813, 14.9987, 59.6985)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4066CD #CDA740
analogous
#40ACCD #4066CD #6140CD
triadic
#4066CD #CD4066 #66CD40
tetradic
#4066CD #CD40AC #CDA740 #40CD61
square
#4066CD #CD40AC #CDA740 #40CD61
split-complementary
#4066CD #CD6140 #ACCD40
monochromatic
#1E3674 #2B4CA5 #4066CD #718DDA #A1B4E6

Accessibility & contrast

On white

5.25
#4066CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4066CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4066CD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4066CD#FFFFFF#000000##FFFFFF
##4066CD1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2973D1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4066cd;
/* rgb */ color: rgb(64, 102, 205);
/* oklch */ color: oklch(53.9% 0.165 265.8);
Tailwind
colors: {
  custom: {
    50: '#8591dd',
    500: '#4066cd',
    950: '#000000',
  },
}
SCSS
$custom: #4066cd;
$custom-light: #8591dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4066cd",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 223.83,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53875,
    "c": 0.16532,
    "h": 265.8
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

primary
#4066CD
secondary
#D3C296
accent
#B846E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4066CD

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

Preview Lab → · Contrast checker → · Palette generator →

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