#4066A2#4066A2

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

Color values

HEX#4066A2
RGBrgb(64, 102, 162)
HSLhsl(217, 43%, 44%)
HSVhsv(217, 60%, 64%)
CMYKcmyk(60.5%, 37%, 0%, 36.5%)
CIE-LABlab(43.06, 5.55, -36.49)
CIE-LCHlch(43.06, 36.91, 278.65°)
OKLaboklab(51.07% -0.0197 -0.1034)
OKLCHoklch(51.07% 0.105 259.2)
XYZxyz(13.3850, 13.2002, 36.0179)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4066A2 #A27C40
analogous
#4097A2 #4066A2 #4B40A2
triadic
#4066A2 #A24066 #66A240
tetradic
#4066A2 #A24097 #A27C40 #40A24B
square
#4066A2 #A24097 #A27C40 #40A24B
split-complementary
#4066A2 #A24B40 #97A240
monochromatic
#1D2F4A #2F4A76 #4066A2 #5F85C0 #8BA6D1

Accessibility & contrast

On white

5.77
#4066A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4066A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4066A2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4066A2#FFFFFF#000000##FFFFFF
##4066A21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA4
Deuteranopia (green-blind)
#4062A1
Tritanopia (blue-blind)
#00737C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4066a2;
/* rgb */ color: rgb(64, 102, 162);
/* oklch */ color: oklch(51.1% 0.105 259.2);
Tailwind
colors: {
  custom: {
    50: '#7d91be',
    500: '#4066a2',
    950: '#000000',
  },
}
SCSS
$custom: #4066a2;
$custom-light: #7d91be;
$custom-dark: #000000;
JSON
{
  "hex": "#4066a2",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 162
  },
  "hsl": {
    "h": 216.735,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5107,
    "c": 0.10526,
    "h": 259.2
  },
  "luminance": 0.13201
}

Semantic roles & 50–950 ramp

primary
#4066A2
secondary
#BCA582
accent
#A255D3
background
#F8F8FB
surface
#EFF0F6
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #4066A2

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

Preview Lab → · Contrast checker → · Palette generator →

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