#4066BE#4066BE

#4066BE is a mid, vivid blue. Relative luminance 0.143; OKLCH L 52.8% C 0.145 H 264.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4066BE
RGBrgb(64, 102, 190)
HSLhsl(222, 50%, 50%)
HSVhsv(222, 66%, 75%)
CMYKcmyk(66.3%, 46.3%, 0%, 25.5%)
CIE-LABlab(44.67, 15.46, -50.32)
CIE-LCHlch(44.67, 52.64, 287.07°)
OKLaboklab(52.83% -0.014 -0.144)
OKLCHoklch(52.83% 0.145 264.4)
XYZxyz(16.1567, 14.3089, 50.6156)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4066BE #BE9840
analogous
#40A5BE #4066BE #5940BE
triadic
#4066BE #BE4066 #66BE40
tetradic
#4066BE #BE40A5 #BE9840 #40BE59
square
#4066BE #BE40A5 #BE9840 #40BE59
split-complementary
#4066BE #BE5940 #A5BE40
monochromatic
#213562 #314D90 #4066BE #6D8ACE #9BAFDD

Accessibility & contrast

On white

5.44
#4066BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4066BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4066BE
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4066BE#FFFFFF#000000##FFFFFF
##4066BE1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A70C1
Deuteranopia (green-blind)
#2264BC
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4066be;
/* rgb */ color: rgb(64, 102, 190);
/* oklch */ color: oklch(52.8% 0.145 264.4);
Tailwind
colors: {
  custom: {
    50: '#8291d2',
    500: '#4066be',
    950: '#000000',
  },
}
SCSS
$custom: #4066be;
$custom-light: #8291d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4066be",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 190
  },
  "hsl": {
    "h": 221.905,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52834,
    "c": 0.14465,
    "h": 264.4
  },
  "luminance": 0.1431
}

Semantic roles & 50–950 ramp

primary
#4066BE
secondary
#C9B890
accent
#AF4FD9
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0C0C14
muted
#7D7D82

Preview Lab

Preview with #4066BE

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

Preview Lab → · Contrast checker → · Palette generator →

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