#4066A3#4066A3

#4066A3 is a mid, moderate blue. Relative luminance 0.132; OKLCH L 51.1% C 0.107 H 259.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4066A3
RGBrgb(64, 102, 163)
HSLhsl(217, 44%, 45%)
HSVhsv(217, 61%, 64%)
CMYKcmyk(60.7%, 37.4%, 0%, 36.1%)
CIE-LABlab(43.12, 5.90, -36.99)
CIE-LCHlch(43.12, 37.46, 279.06°)
OKLaboklab(51.13% -0.0195 -0.1049)
OKLCHoklch(51.13% 0.107 259.5)
XYZxyz(13.4743, 13.2359, 36.4879)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4066A3 #A37D40
analogous
#4097A3 #4066A3 #4C40A3
triadic
#4066A3 #A34066 #66A340
tetradic
#4066A3 #A34097 #A37D40 #40A34C
square
#4066A3 #A34097 #A37D40 #40A34C
split-complementary
#4066A3 #A34C40 #97A340
monochromatic
#1D2F4B #2F4B77 #4066A3 #6085C0 #8CA7D2

Accessibility & contrast

On white

5.76
#4066A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4066A3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4066A3#FFFFFF#000000##FFFFFF
##4066A31.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4066a3;
/* rgb */ color: rgb(64, 102, 163);
/* oklch */ color: oklch(51.1% 0.107 259.5);
Tailwind
colors: {
  custom: {
    50: '#7d91be',
    500: '#4066a3',
    950: '#000000',
  },
}
SCSS
$custom: #4066a3;
$custom-light: #7d91be;
$custom-dark: #000000;
JSON
{
  "hex": "#4066a3",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 163
  },
  "hsl": {
    "h": 216.97,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51129,
    "c": 0.10667,
    "h": 259.5
  },
  "luminance": 0.13237
}

Semantic roles & 50–950 ramp

primary
#4066A3
secondary
#BDA682
accent
#A354D3
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #4066A3

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

Preview Lab → · Contrast checker → · Palette generator →

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