#4066D0#4066D0

#4066D0 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.1% C 0.169 H 266.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4066D0
RGBrgb(64, 102, 208)
HSLhsl(224, 61%, 53%)
HSVhsv(224, 69%, 82%)
CMYKcmyk(69.2%, 51%, 0%, 18.4%)
CIE-LABlab(45.83, 21.92, -58.83)
CIE-LCHlch(45.83, 62.78, 290.44°)
OKLaboklab(54.09% -0.0117 -0.169)
OKLCHoklch(54.09% 0.169 266)
XYZxyz(18.2469, 15.1450, 61.6239)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4066D0 #D0AA40
analogous
#40AED0 #4066D0 #6240D0
triadic
#4066D0 #D04066 #66D040
tetradic
#4066D0 #D040AE #D0AA40 #40D062
square
#4066D0 #D040AE #D0AA40 #40D062
split-complementary
#4066D0 #D06240 #AED040
monochromatic
#1E3578 #2A4BA9 #4066D0 #718DDC #A2B5E8

Accessibility & contrast

On white

5.21
#4066D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4066D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4066D0
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4066D0#FFFFFF#000000##FFFFFF
##4066D01.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2573D4
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#007F91
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4066d0;
/* rgb */ color: rgb(64, 102, 208);
/* oklch */ color: oklch(54.1% 0.169 266.0);
Tailwind
colors: {
  custom: {
    50: '#8591df',
    500: '#4066d0',
    950: '#000000',
  },
}
SCSS
$custom: #4066d0;
$custom-light: #8591df;
$custom-dark: #000000;
JSON
{
  "hex": "#4066d0",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 208
  },
  "hsl": {
    "h": 224.167,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5409,
    "c": 0.1694,
    "h": 266
  },
  "luminance": 0.15147
}

Semantic roles & 50–950 ramp

primary
#4066D0
secondary
#D5C597
accent
#BA44E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4066D0

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

Preview Lab → · Contrast checker → · Palette generator →

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