#4064AA#4064AA

#4064AA is a mid, moderate blue. Relative luminance 0.131; OKLCH L 51.1% C 0.119 H 262.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4064AA
RGBrgb(64, 100, 170)
HSLhsl(220, 45%, 46%)
HSVhsv(220, 62%, 67%)
CMYKcmyk(62.4%, 41.2%, 0%, 33.3%)
CIE-LABlab(42.92, 9.61, -41.43)
CIE-LCHlch(42.92, 42.53, 283.06°)
OKLaboklab(51.1% -0.0157 -0.1179)
OKLCHoklch(51.1% 0.119 262.4)
XYZxyz(13.9247, 13.1054, 39.8182)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4064AA #AA8640
analogous
#4099AA #4064AA #5140AA
triadic
#4064AA #AA4064 #64AA40
tetradic
#4064AA #AA4099 #AA8640 #40AA51
square
#4064AA #AA4099 #AA8640 #40AA51
split-complementary
#4064AA #AA5140 #99AA40
monochromatic
#1F3051 #2F4A7E #4064AA #6384C4 #8FA7D5

Accessibility & contrast

On white

5.80
#4064AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4064AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4064AA#FFFFFF#000000##FFFFFF
##4064AA1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456BAD
Deuteranopia (green-blind)
#3661A9
Tritanopia (blue-blind)
#00747F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4064aa;
/* rgb */ color: rgb(64, 100, 170);
/* oklch */ color: oklch(51.1% 0.119 262.4);
Tailwind
colors: {
  custom: {
    50: '#7f8fc4',
    500: '#4064aa',
    950: '#000000',
  },
}
SCSS
$custom: #4064aa;
$custom-light: #7f8fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4064aa",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 170
  },
  "hsl": {
    "h": 219.623,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51103,
    "c": 0.11893,
    "h": 262.4
  },
  "luminance": 0.13107
}

Semantic roles & 50–950 ramp

primary
#4064AA
secondary
#C0AC86
accent
#A953D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4064AA

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

Preview Lab → · Contrast checker → · Palette generator →

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