#4064AE#4064AE

#4064AE is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.4% C 0.125 H 263.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4064AE
RGBrgb(64, 100, 174)
HSLhsl(220, 46%, 47%)
HSVhsv(220, 63%, 68%)
CMYKcmyk(63.2%, 42.5%, 0%, 31.8%)
CIE-LABlab(43.15, 11.02, -43.42)
CIE-LCHlch(43.15, 44.80, 284.25°)
OKLaboklab(51.36% -0.0148 -0.1237)
OKLCHoklch(51.36% 0.125 263.2)
XYZxyz(14.3088, 13.2590, 41.8414)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4064AE #AE8A40
analogous
#409BAE #4064AE #5340AE
triadic
#4064AE #AE4064 #64AE40
tetradic
#4064AE #AE409B #AE8A40 #40AE53
square
#4064AE #AE409B #AE8A40 #40AE53
split-complementary
#4064AE #AE5340 #9BAE40
monochromatic
#1F3155 #304A81 #4064AE #6585C6 #92A8D7

Accessibility & contrast

On white

5.75
#4064AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4064AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4064AE
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4064AE#FFFFFF#000000##FFFFFF
##4064AE1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426BB1
Deuteranopia (green-blind)
#3261AC
Tritanopia (blue-blind)
#007580
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4064ae;
/* rgb */ color: rgb(64, 100, 174);
/* oklch */ color: oklch(51.4% 0.125 263.2);
Tailwind
colors: {
  custom: {
    50: '#7f8fc6',
    500: '#4064ae',
    950: '#000000',
  },
}
SCSS
$custom: #4064ae;
$custom-light: #7f8fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4064ae",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 174
  },
  "hsl": {
    "h": 220.364,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51355,
    "c": 0.12461,
    "h": 263.2
  },
  "luminance": 0.1326
}

Semantic roles & 50–950 ramp

primary
#4064AE
secondary
#C2AF88
accent
#AB52D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4064AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4064AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva