#4066CE#4066CE

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

Color values

HEX#4066CE
RGBrgb(64, 102, 206)
HSLhsl(224, 59%, 53%)
HSVhsv(224, 69%, 81%)
CMYKcmyk(68.9%, 50.5%, 0%, 19.2%)
CIE-LABlab(45.70, 21.20, -57.90)
CIE-LCHlch(45.70, 61.66, 290.11°)
OKLaboklab(53.95% -0.0119 -0.1662)
OKLCHoklch(53.95% 0.167 265.9)
XYZxyz(18.0024, 15.0472, 60.3362)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4066CE #CEA840
analogous
#40ADCE #4066CE #6140CE
triadic
#4066CE #CE4066 #66CE40
tetradic
#4066CE #CE40AD #CEA840 #40CE61
square
#4066CE #CE40AD #CEA840 #40CE61
split-complementary
#4066CE #CE6140 #ADCE40
monochromatic
#1E3675 #2B4CA6 #4066CE #718DDA #A1B4E7

Accessibility & contrast

On white

5.24
#4066CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4066CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4066CE
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4066CE#FFFFFF#000000##FFFFFF
##4066CE1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2873D2
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#007F90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4066ce;
/* rgb */ color: rgb(64, 102, 206);
/* oklch */ color: oklch(53.9% 0.167 265.9);
Tailwind
colors: {
  custom: {
    50: '#8591de',
    500: '#4066ce',
    950: '#000000',
  },
}
SCSS
$custom: #4066ce;
$custom-light: #8591de;
$custom-dark: #000000;
JSON
{
  "hex": "#4066ce",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 223.944,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53947,
    "c": 0.16668,
    "h": 265.9
  },
  "luminance": 0.15049
}

Semantic roles & 50–950 ramp

primary
#4066CE
secondary
#D4C396
accent
#B845E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4066CE

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

Preview Lab → · Contrast checker → · Palette generator →

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