#4065CA#4065CA

#4065CA is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.5% C 0.162 H 265.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4065CA
RGBrgb(64, 101, 202)
HSLhsl(224, 57%, 52%)
HSVhsv(224, 68%, 79%)
CMYKcmyk(68.3%, 50%, 0%, 20.8%)
CIE-LABlab(45.16, 20.40, -56.46)
CIE-LCHlch(45.16, 60.03, 289.87°)
OKLaboklab(53.46% -0.0115 -0.162)
OKLCHoklch(53.46% 0.162 265.9)
XYZxyz(17.4250, 14.6599, 57.7770)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4065CA #CAA540
analogous
#40AACA #4065CA #6040CA
triadic
#4065CA #CA4065 #65CA40
tetradic
#4065CA #CA40AA #CAA540 #40CA60
square
#4065CA #CA40AA #CAA540 #40CA60
split-complementary
#4065CA #CA6040 #AACA40
monochromatic
#1F3570 #2C4CA0 #4065CA #708CD7 #A0B2E5

Accessibility & contrast

On white

5.34
#4065CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4065CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4065CA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4065CA#FFFFFF#000000##FFFFFF
##4065CA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CE
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#007D8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4065ca;
/* rgb */ color: rgb(64, 101, 202);
/* oklch */ color: oklch(53.5% 0.162 265.9);
Tailwind
colors: {
  custom: {
    50: '#8490db',
    500: '#4065ca',
    950: '#000000',
  },
}
SCSS
$custom: #4065ca;
$custom-light: #8490db;
$custom-dark: #000000;
JSON
{
  "hex": "#4065ca",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 202
  },
  "hsl": {
    "h": 223.913,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53456,
    "c": 0.16245,
    "h": 265.9
  },
  "luminance": 0.14662
}

Semantic roles & 50–950 ramp

primary
#4065CA
secondary
#D1C195
accent
#B748E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #4065CA

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

Preview Lab → · Contrast checker → · Palette generator →

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