#4065A5#4065A5

#4065A5 is a mid, moderate blue. Relative luminance 0.131; OKLCH L 51.0% C 0.111 H 260.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4065A5
RGBrgb(64, 101, 165)
HSLhsl(218, 44%, 45%)
HSVhsv(218, 61%, 65%)
CMYKcmyk(61.2%, 38.8%, 0%, 35.3%)
CIE-LABlab(42.93, 7.22, -38.47)
CIE-LCHlch(42.93, 39.14, 280.64°)
OKLaboklab(51.02% -0.0179 -0.1092)
OKLCHoklch(51.02% 0.111 260.7)
XYZxyz(13.5572, 13.1128, 37.4066)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4065A5 #A58040
analogous
#4097A5 #4065A5 #4E40A5
triadic
#4065A5 #A54065 #65A540
tetradic
#4065A5 #A54097 #A58040 #40A54E
square
#4065A5 #A54097 #A58040 #40A54E
split-complementary
#4065A5 #A54E40 #97A540
monochromatic
#1E2F4D #2F4A79 #4065A5 #6184C2 #8DA6D3

Accessibility & contrast

On white

5.80
#4065A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4065A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4065A5#FFFFFF#000000##FFFFFF
##4065A51.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)
#4A6AA8
Deuteranopia (green-blind)
#3C61A4
Tritanopia (blue-blind)
#00737D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4065a5;
/* rgb */ color: rgb(64, 101, 165);
/* oklch */ color: oklch(51.0% 0.111 260.7);
Tailwind
colors: {
  custom: {
    50: '#7e90c0',
    500: '#4065a5',
    950: '#000000',
  },
}
SCSS
$custom: #4065a5;
$custom-light: #7e90c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4065a5",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 165
  },
  "hsl": {
    "h": 218.02,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51021,
    "c": 0.11065,
    "h": 260.7
  },
  "luminance": 0.13114
}

Semantic roles & 50–950 ramp

primary
#4065A5
secondary
#BEA883
accent
#A554D4
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #4065A5

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

Preview Lab → · Contrast checker → · Palette generator →

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