#4065CD#4065CD

#4065CD is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.7% C 0.167 H 266.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4065CD
RGBrgb(64, 101, 205)
HSLhsl(224, 59%, 53%)
HSVhsv(224, 69%, 80%)
CMYKcmyk(68.8%, 50.7%, 0%, 19.6%)
CIE-LABlab(45.36, 21.48, -57.86)
CIE-LCHlch(45.36, 61.72, 290.36°)
OKLaboklab(53.67% -0.0112 -0.1662)
OKLCHoklch(53.67% 0.167 266.2)
XYZxyz(17.7836, 14.8034, 59.6659)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4065CD #CDA840
analogous
#40ACCD #4065CD #6140CD
triadic
#4065CD #CD4065 #65CD40
tetradic
#4065CD #CD40AC #CDA840 #40CD61
square
#4065CD #CD40AC #CDA840 #40CD61
split-complementary
#4065CD #CD6140 #ACCD40
monochromatic
#1E3574 #2B4BA5 #4065CD #718CDA #A1B3E6

Accessibility & contrast

On white

5.30
#4065CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4065CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4065CD#FFFFFF#000000##FFFFFF
##4065CD1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2672D1
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4065cd;
/* rgb */ color: rgb(64, 101, 205);
/* oklch */ color: oklch(53.7% 0.167 266.2);
Tailwind
colors: {
  custom: {
    50: '#8590dd',
    500: '#4065cd',
    950: '#000000',
  },
}
SCSS
$custom: #4065cd;
$custom-light: #8590dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4065cd",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 224.255,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53671,
    "c": 0.16654,
    "h": 266.2
  },
  "luminance": 0.14805
}

Semantic roles & 50–950 ramp

primary
#4065CD
secondary
#D3C396
accent
#B946E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4065CD

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

Preview Lab → · Contrast checker → · Palette generator →

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