#40469F#40469F

#40469F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.142 H 276.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#40469F
RGBrgb(64, 70, 159)
HSLhsl(236, 43%, 44%)
HSVhsv(236, 60%, 62%)
CMYKcmyk(59.7%, 56%, 0%, 37.6%)
CIE-LABlab(33.93, 25.17, -49.31)
CIE-LCHlch(33.93, 55.36, 297.05°)
OKLaboklab(44.03% 0.0148 -0.1414)
OKLCHoklch(44.03% 0.142 276)
XYZxyz(10.5605, 7.9727, 33.7766)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40469F #9F9940
analogous
#40759F #40469F #69409F
triadic
#40469F #9F4046 #469F40
tetradic
#40469F #9F4075 #9F9940 #409F69
square
#40469F #9F4075 #9F9940 #409F69
split-complementary
#40469F #9F6940 #759F40
monochromatic
#1D2048 #2E3373 #40469F #5E64BE #8A8ED0

Accessibility & contrast

On white

8.09
#40469F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#40469F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40469F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40469F#FFFFFF#000000##FFFFFF
##40469F1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0454A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #40469f;
/* rgb */ color: rgb(64, 70, 159);
/* oklch */ color: oklch(44.0% 0.142 276.0);
Tailwind
colors: {
  custom: {
    50: '#7e79bc',
    500: '#40469f',
    950: '#000000',
  },
}
SCSS
$custom: #40469f;
$custom-light: #7e79bc;
$custom-dark: #000000;
JSON
{
  "hex": "#40469f",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 159
  },
  "hsl": {
    "h": 236.211,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44032,
    "c": 0.14217,
    "h": 276
  },
  "luminance": 0.07974
}

Semantic roles & 50–950 ramp

primary
#40469F
secondary
#BBB780
accent
#CA55D2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #40469F

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

Preview Lab → · Contrast checker → · Palette generator →

#40469F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva