#405193#405193

#405193 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.5% C 0.110 H 270.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#405193
RGBrgb(64, 81, 147)
HSLhsl(228, 39%, 41%)
HSVhsv(228, 56%, 58%)
CMYKcmyk(56.5%, 44.9%, 0%, 42.4%)
CIE-LABlab(36.14, 13.81, -38.50)
CIE-LCHlch(36.14, 40.90, 289.73°)
OKLaboklab(45.45% 0.0013 -0.1095)
OKLCHoklch(45.45% 0.11 270.7)
XYZxyz(10.3215, 9.0807, 28.8070)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405193 #938240
analogous
#407B93 #405193 #594093
triadic
#405193 #934051 #519340
tetradic
#405193 #93407B #938240 #409359
square
#405193 #93407B #938240 #409359
split-complementary
#405193 #935940 #7B9340
monochromatic
#1B223E #2D3A68 #405193 #596CB7 #8492C9

Accessibility & contrast

On white

7.46
#405193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#405193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405193
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405193#FFFFFF#000000##FFFFFF
##4051931.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345996
Deuteranopia (green-blind)
#2A5292
Tritanopia (blue-blind)
#125F6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405193;
/* rgb */ color: rgb(64, 81, 147);
/* oklch */ color: oklch(45.5% 0.110 270.7);
Tailwind
colors: {
  custom: {
    50: '#7b81b3',
    500: '#405193',
    950: '#000000',
  },
}
SCSS
$custom: #405193;
$custom-light: #7b81b3;
$custom-dark: #000000;
JSON
{
  "hex": "#405193",
  "rgb": {
    "r": 64,
    "g": 81,
    "b": 147
  },
  "hsl": {
    "h": 227.711,
    "s": 39.336,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45451,
    "c": 0.10951,
    "h": 270.7
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #405193

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

Preview Lab → · Contrast checker → · Palette generator →

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