#4065D0#4065D0

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

Color values

HEX#4065D0
RGBrgb(64, 101, 208)
HSLhsl(225, 61%, 53%)
HSVhsv(225, 69%, 82%)
CMYKcmyk(69.2%, 51.4%, 0%, 18.4%)
CIE-LABlab(45.57, 22.56, -59.26)
CIE-LCHlch(45.57, 63.41, 290.84°)
OKLaboklab(53.89% -0.0108 -0.1703)
OKLCHoklch(53.89% 0.171 266.4)
XYZxyz(18.1492, 14.9496, 61.5914)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4065D0 #D0AB40
analogous
#40ADD0 #4065D0 #6340D0
triadic
#4065D0 #D04065 #65D040
tetradic
#4065D0 #D040AD #D0AB40 #40D063
square
#4065D0 #D040AD #D0AB40 #40D063
split-complementary
#4065D0 #D06340 #ADD040
monochromatic
#1E3578 #2A4AA9 #4065D0 #718DDC #A2B4E8

Accessibility & contrast

On white

5.26
#4065D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4065D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4065D0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4065D0#FFFFFF#000000##FFFFFF
##4065D01.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2173D4
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#007E91
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4065d0;
/* rgb */ color: rgb(64, 101, 208);
/* oklch */ color: oklch(53.9% 0.171 266.4);
Tailwind
colors: {
  custom: {
    50: '#8690df',
    500: '#4065d0',
    950: '#000000',
  },
}
SCSS
$custom: #4065d0;
$custom-light: #8690df;
$custom-dark: #000000;
JSON
{
  "hex": "#4065d0",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 208
  },
  "hsl": {
    "h": 224.583,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53888,
    "c": 0.17062,
    "h": 266.4
  },
  "luminance": 0.14951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4065D0

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

Preview Lab → · Contrast checker → · Palette generator →

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