#4065A3#4065A3

#4065A3 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 50.9% C 0.108 H 260.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#4065A3
RGBrgb(64, 101, 163)
HSLhsl(218, 44%, 45%)
HSVhsv(218, 61%, 64%)
CMYKcmyk(60.7%, 38%, 0%, 36.1%)
CIE-LABlab(42.82, 6.53, -37.46)
CIE-LCHlch(42.82, 38.02, 279.88°)
OKLaboklab(50.9% -0.0184 -0.1062)
OKLCHoklch(50.9% 0.108 260.2)
XYZxyz(13.3766, 13.0405, 36.4554)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4065A3 #A37E40
analogous
#4096A3 #4065A3 #4D40A3
triadic
#4065A3 #A34065 #65A340
tetradic
#4065A3 #A34096 #A37E40 #40A34D
square
#4065A3 #A34096 #A37E40 #40A34D
split-complementary
#4065A3 #A34D40 #96A340
monochromatic
#1D2F4B #2F4A77 #4065A3 #6084C0 #8CA6D2

Accessibility & contrast

On white

5.82
#4065A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4065A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4065A3#FFFFFF#000000##FFFFFF
##4065A31.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6AA6
Deuteranopia (green-blind)
#3D61A2
Tritanopia (blue-blind)
#00737C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4065a3;
/* rgb */ color: rgb(64, 101, 163);
/* oklch */ color: oklch(50.9% 0.108 260.2);
Tailwind
colors: {
  custom: {
    50: '#7d90be',
    500: '#4065a3',
    950: '#000000',
  },
}
SCSS
$custom: #4065a3;
$custom-light: #7d90be;
$custom-dark: #000000;
JSON
{
  "hex": "#4065a3",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 163
  },
  "hsl": {
    "h": 217.576,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50902,
    "c": 0.10781,
    "h": 260.2
  },
  "luminance": 0.13042
}

Semantic roles & 50–950 ramp

primary
#4065A3
secondary
#BDA782
accent
#A454D3
background
#F8F8FB
surface
#EFF0F7
border
#CACBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #4065A3

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

Preview Lab → · Contrast checker → · Palette generator →

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