#4066A5#4066A5

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

Color values

HEX#4066A5
RGBrgb(64, 102, 165)
HSLhsl(217, 44%, 45%)
HSVhsv(217, 61%, 65%)
CMYKcmyk(61.2%, 38.2%, 0%, 35.3%)
CIE-LABlab(43.22, 6.60, -38.01)
CIE-LCHlch(43.22, 38.57, 279.84°)
OKLaboklab(51.25% -0.019 -0.1078)
OKLCHoklch(51.25% 0.109 260)
XYZxyz(13.6549, 13.3081, 37.4392)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4066A5 #A57F40
analogous
#4098A5 #4066A5 #4D40A5
triadic
#4066A5 #A54066 #66A540
tetradic
#4066A5 #A54098 #A57F40 #40A54D
square
#4066A5 #A54098 #A57F40 #40A54D
split-complementary
#4066A5 #A54D40 #98A540
monochromatic
#1E2F4D #2F4B79 #4066A5 #6185C2 #8DA7D3

Accessibility & contrast

On white

5.73
#4066A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4066A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4066A5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4066A5#FFFFFF#000000##FFFFFF
##4066A51.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4066a5;
/* rgb */ color: rgb(64, 102, 165);
/* oklch */ color: oklch(51.2% 0.109 260.0);
Tailwind
colors: {
  custom: {
    50: '#7e91c0',
    500: '#4066a5',
    950: '#000000',
  },
}
SCSS
$custom: #4066a5;
$custom-light: #7e91c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4066a5",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 165
  },
  "hsl": {
    "h": 217.426,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51247,
    "c": 0.10949,
    "h": 260
  },
  "luminance": 0.13309
}

Semantic roles & 50–950 ramp

primary
#4066A5
secondary
#BEA883
accent
#A454D4
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #4066A5

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

Preview Lab → · Contrast checker → · Palette generator →

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