#405F93#405F93

#405F93 is a mid, moderate blue. Relative luminance 0.114; OKLCH L 48.6% C 0.092 H 260.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#405F93
RGBrgb(64, 95, 147)
HSLhsl(218, 39%, 41%)
HSVhsv(218, 56%, 58%)
CMYKcmyk(56.5%, 35.4%, 0%, 42.4%)
CIE-LABlab(40.21, 4.79, -32.04)
CIE-LCHlch(40.21, 32.40, 278.51°)
OKLaboklab(48.6% -0.0155 -0.0905)
OKLCHoklch(48.6% 0.092 260.3)
XYZxyz(11.4712, 11.3801, 29.1902)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405F93 #937440
analogous
#408993 #405F93 #4B4093
triadic
#405F93 #93405F #5F9340
tetradic
#405F93 #934089 #937440 #40934B
square
#405F93 #934089 #937440 #40934B
split-complementary
#405F93 #934B40 #899340
monochromatic
#1B283E #2D4368 #405F93 #597CB7 #849EC9

Accessibility & contrast

On white

6.41
#405F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#405F93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #405F93
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405F93#FFFFFF#000000##FFFFFF
##405F931.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6395
Deuteranopia (green-blind)
#405B92
Tritanopia (blue-blind)
#0B6A72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #405f93;
/* rgb */ color: rgb(64, 95, 147);
/* oklch */ color: oklch(48.6% 0.092 260.3);
Tailwind
colors: {
  custom: {
    50: '#7b8cb3',
    500: '#405f93',
    950: '#000000',
  },
}
SCSS
$custom: #405f93;
$custom-light: #7b8cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#405f93",
  "rgb": {
    "r": 64,
    "g": 95,
    "b": 147
  },
  "hsl": {
    "h": 217.59,
    "s": 39.336,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48596,
    "c": 0.09181,
    "h": 260.3
  },
  "luminance": 0.11381
}

Semantic roles & 50–950 ramp

primary
#405F93
secondary
#B49F7B
accent
#A359CF
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #405F93

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

Preview Lab → · Contrast checker → · Palette generator →

#405F93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva