#4066A4#4066A4

#4066A4 is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.2% C 0.108 H 259.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4066A4
RGBrgb(64, 102, 164)
HSLhsl(217, 44%, 45%)
HSVhsv(217, 61%, 64%)
CMYKcmyk(61%, 37.8%, 0%, 35.7%)
CIE-LABlab(43.17, 6.25, -37.50)
CIE-LCHlch(43.17, 38.02, 279.46°)
OKLaboklab(51.19% -0.0192 -0.1063)
OKLCHoklch(51.19% 0.108 259.7)
XYZxyz(13.5642, 13.2719, 36.9617)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4066A4 #A47E40
analogous
#4098A4 #4066A4 #4C40A4
triadic
#4066A4 #A44066 #66A440
tetradic
#4066A4 #A44098 #A47E40 #40A44C
square
#4066A4 #A44098 #A47E40 #40A44C
split-complementary
#4066A4 #A44C40 #98A440
monochromatic
#1E2F4C #2F4B78 #4066A4 #6085C1 #8CA7D2

Accessibility & contrast

On white

5.75
#4066A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4066A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4066A4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4066A4#FFFFFF#000000##FFFFFF
##4066A41.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA7
Deuteranopia (green-blind)
#3E62A3
Tritanopia (blue-blind)
#00747D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4066a4;
/* rgb */ color: rgb(64, 102, 164);
/* oklch */ color: oklch(51.2% 0.108 259.7);
Tailwind
colors: {
  custom: {
    50: '#7e91bf',
    500: '#4066a4',
    950: '#000000',
  },
}
SCSS
$custom: #4066a4;
$custom-light: #7e91bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4066a4",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 164
  },
  "hsl": {
    "h": 217.2,
    "s": 43.86,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51188,
    "c": 0.10808,
    "h": 259.7
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

primary
#4066A4
secondary
#BDA783
accent
#A354D4
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #4066A4

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

Preview Lab → · Contrast checker → · Palette generator →

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