#405294#405294

#405294 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.7% C 0.110 H 270.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#405294
RGBrgb(64, 82, 148)
HSLhsl(227, 40%, 42%)
HSVhsv(227, 57%, 58%)
CMYKcmyk(56.8%, 44.6%, 0%, 42%)
CIE-LABlab(36.48, 13.50, -38.55)
CIE-LCHlch(36.48, 40.85, 289.30°)
OKLaboklab(45.73% 0.0003 -0.1097)
OKLCHoklch(45.73% 0.11 270.1)
XYZxyz(10.4752, 9.2619, 29.2470)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405294 #948240
analogous
#407C94 #405294 #584094
triadic
#405294 #944052 #529440
tetradic
#405294 #94407C #948240 #409458
square
#405294 #94407C #948240 #409458
split-complementary
#405294 #945840 #7C9440
monochromatic
#1B233F #2E3A69 #405294 #5A6EB8 #8493CA

Accessibility & contrast

On white

7.36
#405294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405294
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405294#FFFFFF#000000##FFFFFF
##4052941.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355A97
Deuteranopia (green-blind)
#2B5293
Tritanopia (blue-blind)
#0F606C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405294;
/* rgb */ color: rgb(64, 82, 148);
/* oklch */ color: oklch(45.7% 0.110 270.1);
Tailwind
colors: {
  custom: {
    50: '#7c82b4',
    500: '#405294',
    950: '#000000',
  },
}
SCSS
$custom: #405294;
$custom-light: #7c82b4;
$custom-dark: #000000;
JSON
{
  "hex": "#405294",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 148
  },
  "hsl": {
    "h": 227.143,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45734,
    "c": 0.10966,
    "h": 270.1
  },
  "luminance": 0.09263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #405294

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

Preview Lab → · Contrast checker → · Palette generator →

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