#4065D1#4065D1

#4065D1 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.0% C 0.172 H 266.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4065D1
RGBrgb(64, 101, 209)
HSLhsl(225, 61%, 54%)
HSVhsv(225, 69%, 82%)
CMYKcmyk(69.4%, 51.7%, 0%, 18%)
CIE-LABlab(45.63, 22.92, -59.72)
CIE-LCHlch(45.63, 63.97, 290.99°)
OKLaboklab(53.96% -0.0107 -0.1716)
OKLCHoklch(53.96% 0.172 266.4)
XYZxyz(18.2726, 14.9990, 62.2413)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4065D1 #D1AC40
analogous
#40ADD1 #4065D1 #6340D1
triadic
#4065D1 #D14065 #65D140
tetradic
#4065D1 #D140AD #D1AC40 #40D163
square
#4065D1 #D140AD #D1AC40 #40D163
split-complementary
#4065D1 #D16340 #ADD140
monochromatic
#1D3579 #294AAB #4065D1 #718DDD #A3B5E9

Accessibility & contrast

On white

5.25
#4065D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#4065D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4065D1#FFFFFF#000000##FFFFFF
##4065D11.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2073D5
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#007F91
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4065d1;
/* rgb */ color: rgb(64, 101, 209);
/* oklch */ color: oklch(54.0% 0.172 266.4);
Tailwind
colors: {
  custom: {
    50: '#8690e0',
    500: '#4065d1',
    950: '#000000',
  },
}
SCSS
$custom: #4065d1;
$custom-light: #8690e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4065d1",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 209
  },
  "hsl": {
    "h": 224.69,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53961,
    "c": 0.17198,
    "h": 266.4
  },
  "luminance": 0.15001
}

Semantic roles & 50–950 ramp

primary
#4065D1
secondary
#D5C697
accent
#BB44E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4065D1

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

Preview Lab → · Contrast checker → · Palette generator →

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