#4065AA#4065AA

#4065AA is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.3% C 0.118 H 261.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4065AA
RGBrgb(64, 101, 170)
HSLhsl(219, 45%, 46%)
HSVhsv(219, 62%, 67%)
CMYKcmyk(62.4%, 40.6%, 0%, 33.3%)
CIE-LABlab(43.21, 8.98, -40.98)
CIE-LCHlch(43.21, 41.95, 282.36°)
OKLaboklab(51.33% -0.0167 -0.1165)
OKLCHoklch(51.33% 0.118 261.8)
XYZxyz(14.0212, 13.2984, 39.8504)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4065AA #AA8540
analogous
#409AAA #4065AA #5040AA
triadic
#4065AA #AA4065 #65AA40
tetradic
#4065AA #AA409A #AA8540 #40AA50
square
#4065AA #AA409A #AA8540 #40AA50
split-complementary
#4065AA #AA5040 #9AAA40
monochromatic
#1F3051 #2F4B7E #4065AA #6385C4 #8FA8D5

Accessibility & contrast

On white

5.74
#4065AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4065AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4065AA#FFFFFF#000000##FFFFFF
##4065AA1.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)
#476BAD
Deuteranopia (green-blind)
#3862A9
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4065aa;
/* rgb */ color: rgb(64, 101, 170);
/* oklch */ color: oklch(51.3% 0.118 261.8);
Tailwind
colors: {
  custom: {
    50: '#7f90c4',
    500: '#4065aa',
    950: '#000000',
  },
}
SCSS
$custom: #4065aa;
$custom-light: #7f90c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4065aa",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 170
  },
  "hsl": {
    "h": 219.057,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51326,
    "c": 0.11774,
    "h": 261.8
  },
  "luminance": 0.133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4065AA

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

Preview Lab → · Contrast checker → · Palette generator →

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