#4065AF#4065AF

#4065AF is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.6% C 0.125 H 262.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4065AF
RGBrgb(64, 101, 175)
HSLhsl(220, 46%, 47%)
HSVhsv(220, 63%, 69%)
CMYKcmyk(63.4%, 42.3%, 0%, 31.4%)
CIE-LABlab(43.49, 10.74, -43.46)
CIE-LCHlch(43.49, 44.77, 283.89°)
OKLaboklab(51.64% -0.0157 -0.1238)
OKLCHoklch(51.64% 0.125 262.8)
XYZxyz(14.5032, 13.4912, 42.3889)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4065AF #AF8A40
analogous
#409DAF #4065AF #5340AF
triadic
#4065AF #AF4065 #65AF40
tetradic
#4065AF #AF409D #AF8A40 #40AF53
square
#4065AF #AF409D #AF8A40 #40AF53
split-complementary
#4065AF #AF5340 #9DAF40
monochromatic
#1F3155 #304B82 #4065AF #6586C7 #92A9D7

Accessibility & contrast

On white

5.68
#4065AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4065AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4065AF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4065AF#FFFFFF#000000##FFFFFF
##4065AF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436CB2
Deuteranopia (green-blind)
#3362AD
Tritanopia (blue-blind)
#007681
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4065af;
/* rgb */ color: rgb(64, 101, 175);
/* oklch */ color: oklch(51.6% 0.125 262.8);
Tailwind
colors: {
  custom: {
    50: '#7f90c7',
    500: '#4065af',
    950: '#000000',
  },
}
SCSS
$custom: #4065af;
$custom-light: #7f90c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4065af",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 175
  },
  "hsl": {
    "h": 220,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51638,
    "c": 0.12481,
    "h": 262.8
  },
  "luminance": 0.13492
}

Semantic roles & 50–950 ramp

primary
#4065AF
secondary
#C3AF88
accent
#AA52D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #4065AF

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

Preview Lab → · Contrast checker → · Palette generator →

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