#4065AB#4065AB

#4065AB is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.4% C 0.119 H 262.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4065AB
RGBrgb(64, 101, 171)
HSLhsl(219, 46%, 46%)
HSVhsv(219, 63%, 67%)
CMYKcmyk(62.6%, 40.9%, 0%, 32.9%)
CIE-LABlab(43.27, 9.33, -41.47)
CIE-LCHlch(43.27, 42.51, 282.68°)
OKLaboklab(51.39% -0.0165 -0.118)
OKLCHoklch(51.39% 0.119 262)
XYZxyz(14.1162, 13.3364, 40.3505)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4065AB #AB8640
analogous
#409AAB #4065AB #5040AB
triadic
#4065AB #AB4065 #65AB40
tetradic
#4065AB #AB409A #AB8640 #40AB50
square
#4065AB #AB409A #AB8640 #40AB50
split-complementary
#4065AB #AB5040 #9AAB40
monochromatic
#1F3052 #2F4B7E #4065AB #6385C5 #90A8D5

Accessibility & contrast

On white

5.73
#4065AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4065AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4065AB#FFFFFF#000000##FFFFFF
##4065AB1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466CAE
Deuteranopia (green-blind)
#3762AA
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4065ab;
/* rgb */ color: rgb(64, 101, 171);
/* oklch */ color: oklch(51.4% 0.119 262.0);
Tailwind
colors: {
  custom: {
    50: '#7f90c4',
    500: '#4065ab',
    950: '#000000',
  },
}
SCSS
$custom: #4065ab;
$custom-light: #7f90c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4065ab",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 171
  },
  "hsl": {
    "h": 219.252,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51388,
    "c": 0.11915,
    "h": 262
  },
  "luminance": 0.13338
}

Semantic roles & 50–950 ramp

primary
#4065AB
secondary
#C1AC86
accent
#A853D5
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4065AB

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

Preview Lab → · Contrast checker → · Palette generator →

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