#4065CF#4065CF

#4065CF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.8% C 0.169 H 266.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4065CF
RGBrgb(64, 101, 207)
HSLhsl(224, 60%, 53%)
HSVhsv(224, 69%, 81%)
CMYKcmyk(69.1%, 51.2%, 0%, 18.8%)
CIE-LABlab(45.50, 22.20, -58.79)
CIE-LCHlch(45.50, 62.85, 290.68°)
OKLaboklab(53.82% -0.0109 -0.1689)
OKLCHoklch(53.82% 0.169 266.3)
XYZxyz(18.0266, 14.9005, 60.9455)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4065CF #CFAA40
analogous
#40ACCF #4065CF #6340CF
triadic
#4065CF #CF4065 #65CF40
tetradic
#4065CF #CF40AC #CFAA40 #40CF63
square
#4065CF #CF40AC #CFAA40 #40CF63
split-complementary
#4065CF #CF6340 #ACCF40
monochromatic
#1E3577 #2A4BA8 #4065CF #718CDB #A2B4E8

Accessibility & contrast

On white

5.28
#4065CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#4065CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4065CF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4065CF#FFFFFF#000000##FFFFFF
##4065CF1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2373D3
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#007E90
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4065cf;
/* rgb */ color: rgb(64, 101, 207);
/* oklch */ color: oklch(53.8% 0.169 266.3);
Tailwind
colors: {
  custom: {
    50: '#8590de',
    500: '#4065cf',
    950: '#000000',
  },
}
SCSS
$custom: #4065cf;
$custom-light: #8590de;
$custom-dark: #000000;
JSON
{
  "hex": "#4065cf",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 207
  },
  "hsl": {
    "h": 224.476,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53815,
    "c": 0.16926,
    "h": 266.3
  },
  "luminance": 0.14902
}

Semantic roles & 50–950 ramp

primary
#4065CF
secondary
#D4C497
accent
#BA45E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4065CF

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

Preview Lab → · Contrast checker → · Palette generator →

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