#4066BC#4066BC

#4066BC is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.7% C 0.142 H 264.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4066BC
RGBrgb(64, 102, 188)
HSLhsl(222, 49%, 49%)
HSVhsv(222, 66%, 74%)
CMYKcmyk(66%, 45.7%, 0%, 26.3%)
CIE-LABlab(44.55, 14.74, -49.36)
CIE-LCHlch(44.55, 51.51, 286.63°)
OKLaboklab(52.7% -0.0144 -0.1411)
OKLCHoklch(52.7% 0.142 264.2)
XYZxyz(15.9397, 14.2221, 49.4723)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4066BC #BC9640
analogous
#40A4BC #4066BC #5840BC
triadic
#4066BC #BC4066 #66BC40
tetradic
#4066BC #BC40A4 #BC9640 #40BC58
square
#4066BC #BC40A4 #BC9640 #40BC58
split-complementary
#4066BC #BC5840 #A4BC40
monochromatic
#213461 #304D8E #4066BC #6C8ACD #9AAEDD

Accessibility & contrast

On white

5.46
#4066BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4066BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4066BC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4066BC#FFFFFF#000000##FFFFFF
##4066BC1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBF
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#007A88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4066bc;
/* rgb */ color: rgb(64, 102, 188);
/* oklch */ color: oklch(52.7% 0.142 264.2);
Tailwind
colors: {
  custom: {
    50: '#8291d1',
    500: '#4066bc',
    950: '#000000',
  },
}
SCSS
$custom: #4066bc;
$custom-light: #8291d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4066bc",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 221.613,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52701,
    "c": 0.14187,
    "h": 264.2
  },
  "luminance": 0.14224
}

Semantic roles & 50–950 ramp

primary
#4066BC
secondary
#C9B78F
accent
#AF4FD9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #4066BC

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

Preview Lab → · Contrast checker → · Palette generator →

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