#406294#406294

#406294 is a mid, moderate blue. Relative luminance 0.120; OKLCH L 49.3% C 0.090 H 257.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#406294
RGBrgb(64, 98, 148)
HSLhsl(216, 40%, 42%)
HSVhsv(216, 57%, 58%)
CMYKcmyk(56.8%, 33.8%, 0%, 42%)
CIE-LABlab(41.16, 3.25, -31.16)
CIE-LCHlch(41.16, 31.33, 275.95°)
OKLaboklab(49.35% -0.0188 -0.0879)
OKLCHoklch(49.35% 0.09 257.9)
XYZxyz(11.8255, 11.9625, 29.6971)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406294 #947240
analogous
#408C94 #406294 #484094
triadic
#406294 #944062 #629440
tetradic
#406294 #94408C #947240 #409448
square
#406294 #94408C #947240 #409448
split-complementary
#406294 #944840 #8C9440
monochromatic
#1B293F #2E4669 #406294 #5A80B8 #84A1CA

Accessibility & contrast

On white

6.19
#406294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#406294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406294
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406294#FFFFFF#000000##FFFFFF
##4062941.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6596
Deuteranopia (green-blind)
#435D93
Tritanopia (blue-blind)
#076D74
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #406294;
/* rgb */ color: rgb(64, 98, 148);
/* oklch */ color: oklch(49.3% 0.090 257.9);
Tailwind
colors: {
  custom: {
    50: '#7b8eb3',
    500: '#406294',
    950: '#000000',
  },
}
SCSS
$custom: #406294;
$custom-light: #7b8eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#406294",
  "rgb": {
    "r": 64,
    "g": 98,
    "b": 148
  },
  "hsl": {
    "h": 215.714,
    "s": 39.623,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49348,
    "c": 0.08988,
    "h": 257.9
  },
  "luminance": 0.11963
}

Semantic roles & 50–950 ramp

primary
#406294
secondary
#B49D7B
accent
#9F58D0
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #406294

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

Preview Lab → · Contrast checker → · Palette generator →

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