#4065C0#4065C0

#4065C0 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.8% C 0.149 H 265.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4065C0
RGBrgb(64, 101, 192)
HSLhsl(223, 50%, 50%)
HSVhsv(223, 67%, 75%)
CMYKcmyk(66.7%, 47.4%, 0%, 24.7%)
CIE-LABlab(44.52, 16.81, -51.73)
CIE-LCHlch(44.52, 54.39, 288.00°)
OKLaboklab(52.76% -0.0128 -0.1481)
OKLCHoklch(52.76% 0.149 265.1)
XYZxyz(16.2791, 14.2016, 51.7422)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4065C0 #C09B40
analogous
#40A5C0 #4065C0 #5B40C0
triadic
#4065C0 #C04065 #65C040
tetradic
#4065C0 #C040A5 #C09B40 #40C05B
square
#4065C0 #C040A5 #C09B40 #40C05B
split-complementary
#4065C0 #C05B40 #A5C040
monochromatic
#213564 #304D92 #4065C0 #6E8ACF #9CAFDE

Accessibility & contrast

On white

5.47
#4065C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4065C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4065C0
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4065C0#FFFFFF#000000##FFFFFF
##4065C01.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3670C3
Deuteranopia (green-blind)
#1B64BE
Tritanopia (blue-blind)
#007A89
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4065c0;
/* rgb */ color: rgb(64, 101, 192);
/* oklch */ color: oklch(52.8% 0.149 265.1);
Tailwind
colors: {
  custom: {
    50: '#8290d3',
    500: '#4065c0',
    950: '#000000',
  },
}
SCSS
$custom: #4065c0;
$custom-light: #8290d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4065c0",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 192
  },
  "hsl": {
    "h": 222.656,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52758,
    "c": 0.14866,
    "h": 265.1
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#4065C0
secondary
#CBBA91
accent
#B14EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4065C0

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

Preview Lab → · Contrast checker → · Palette generator →

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