#405293#405293

#405293 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.7% C 0.108 H 270.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#405293
RGBrgb(64, 82, 147)
HSLhsl(227, 39%, 41%)
HSVhsv(227, 56%, 58%)
CMYKcmyk(56.5%, 44.2%, 0%, 42.4%)
CIE-LABlab(36.42, 13.15, -38.04)
CIE-LCHlch(36.42, 40.25, 289.07°)
OKLaboklab(45.67% 0.0001 -0.1082)
OKLCHoklch(45.67% 0.108 270)
XYZxyz(10.3964, 9.2304, 28.8319)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405293 #938140
analogous
#407C93 #405293 #584093
triadic
#405293 #934052 #529340
tetradic
#405293 #93407C #938140 #409358
square
#405293 #93407C #938140 #409358
split-complementary
#405293 #935840 #7C9340
monochromatic
#1B223E #2D3A68 #405293 #596EB7 #8493C9

Accessibility & contrast

On white

7.38
#405293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#405293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405293
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405293#FFFFFF#000000##FFFFFF
##4052931.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A95
Deuteranopia (green-blind)
#2C5292
Tritanopia (blue-blind)
#11606B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405293;
/* rgb */ color: rgb(64, 82, 147);
/* oklch */ color: oklch(45.7% 0.108 270.0);
Tailwind
colors: {
  custom: {
    50: '#7b82b3',
    500: '#405293',
    950: '#000000',
  },
}
SCSS
$custom: #405293;
$custom-light: #7b82b3;
$custom-dark: #000000;
JSON
{
  "hex": "#405293",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 226.988,
    "s": 39.336,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45669,
    "c": 0.10816,
    "h": 270
  },
  "luminance": 0.09231
}

Semantic roles & 50–950 ramp

primary
#405293
secondary
#B4A87B
accent
#B559CF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #405293

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

Preview Lab → · Contrast checker → · Palette generator →

#405293 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva