#4065BE#4065BE

#4065BE is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.6% C 0.146 H 264.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4065BE
RGBrgb(64, 101, 190)
HSLhsl(222, 50%, 50%)
HSVhsv(222, 66%, 75%)
CMYKcmyk(66.3%, 46.8%, 0%, 25.5%)
CIE-LABlab(44.40, 16.09, -50.77)
CIE-LCHlch(44.40, 53.26, 287.59°)
OKLaboklab(52.62% -0.0131 -0.1453)
OKLCHoklch(52.62% 0.146 264.9)
XYZxyz(16.0591, 14.1135, 50.5831)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4065BE #BE9940
analogous
#40A4BE #4065BE #5A40BE
triadic
#4065BE #BE4065 #65BE40
tetradic
#4065BE #BE40A4 #BE9940 #40BE5A
square
#4065BE #BE40A4 #BE9940 #40BE5A
split-complementary
#4065BE #BE5A40 #A4BE40
monochromatic
#213462 #314D90 #4065BE #6D8ACE #9BAFDD

Accessibility & contrast

On white

5.49
#4065BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4065BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4065BE
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4065BE#FFFFFF#000000##FFFFFF
##4065BE1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386FC1
Deuteranopia (green-blind)
#1F64BC
Tritanopia (blue-blind)
#007A88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4065be;
/* rgb */ color: rgb(64, 101, 190);
/* oklch */ color: oklch(52.6% 0.146 264.9);
Tailwind
colors: {
  custom: {
    50: '#8290d2',
    500: '#4065be',
    950: '#000000',
  },
}
SCSS
$custom: #4065be;
$custom-light: #8290d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4065be",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 190
  },
  "hsl": {
    "h": 222.381,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.14588,
    "h": 264.9
  },
  "luminance": 0.14115
}

Semantic roles & 50–950 ramp

primary
#4065BE
secondary
#C9B990
accent
#B04FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4065BE

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

Preview Lab → · Contrast checker → · Palette generator →

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