#4064AF#4064AF

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

Color values

HEX#4064AF
RGBrgb(64, 100, 175)
HSLhsl(221, 46%, 47%)
HSVhsv(221, 63%, 69%)
CMYKcmyk(63.4%, 42.9%, 0%, 31.4%)
CIE-LABlab(43.21, 11.38, -43.91)
CIE-LCHlch(43.21, 45.36, 284.53°)
OKLaboklab(51.42% -0.0147 -0.1252)
OKLCHoklch(51.42% 0.126 263.3)
XYZxyz(14.4067, 13.2982, 42.3567)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4064AF #AF8B40
analogous
#409CAF #4064AF #5440AF
triadic
#4064AF #AF4064 #64AF40
tetradic
#4064AF #AF409C #AF8B40 #40AF54
square
#4064AF #AF409C #AF8B40 #40AF54
split-complementary
#4064AF #AF5440 #9CAF40
monochromatic
#1F3155 #304A82 #4064AF #6585C7 #92A9D7

Accessibility & contrast

On white

5.74
#4064AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4064AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4064AF#FFFFFF#000000##FFFFFF
##4064AF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426CB2
Deuteranopia (green-blind)
#3161AD
Tritanopia (blue-blind)
#007581
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4064af;
/* rgb */ color: rgb(64, 100, 175);
/* oklch */ color: oklch(51.4% 0.126 263.3);
Tailwind
colors: {
  custom: {
    50: '#7f8fc7',
    500: '#4064af',
    950: '#000000',
  },
}
SCSS
$custom: #4064af;
$custom-light: #7f8fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4064af",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 175
  },
  "hsl": {
    "h": 220.541,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51418,
    "c": 0.12603,
    "h": 263.3
  },
  "luminance": 0.13299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4064AF

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

Preview Lab → · Contrast checker → · Palette generator →

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