#40469E#40469E

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

Color values

HEX#40469E
RGBrgb(64, 70, 158)
HSLhsl(236, 42%, 44%)
HSVhsv(236, 59%, 62%)
CMYKcmyk(59.5%, 55.7%, 0%, 38%)
CIE-LABlab(33.85, 24.83, -48.82)
CIE-LCHlch(33.85, 54.77, 296.96°)
OKLaboklab(43.96% 0.0148 -0.14)
OKLCHoklch(43.96% 0.141 276)
XYZxyz(10.4741, 7.9382, 33.3214)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40469E #9E9840
analogous
#40759E #40469E #69409E
triadic
#40469E #9E4046 #469E40
tetradic
#40469E #9E4075 #9E9840 #409E69
square
#40469E #9E4075 #9E9840 #409E69
split-complementary
#40469E #9E6940 #759E40
monochromatic
#1D1F47 #2E3372 #40469E #5E64BE #898ECF

Accessibility & contrast

On white

8.12
#40469E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40469E
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40469E#FFFFFF#000000##FFFFFF
##40469E1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0754A1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #40469e;
/* rgb */ color: rgb(64, 70, 158);
/* oklch */ color: oklch(44.0% 0.141 276.0);
Tailwind
colors: {
  custom: {
    50: '#7e79bb',
    500: '#40469e',
    950: '#000000',
  },
}
SCSS
$custom: #40469e;
$custom-light: #7e79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#40469e",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 158
  },
  "hsl": {
    "h": 236.17,
    "s": 42.342,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43955,
    "c": 0.14075,
    "h": 276
  },
  "luminance": 0.07939
}

Semantic roles & 50–950 ramp

primary
#40469E
secondary
#BAB680
accent
#CA56D2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #40469E

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

Preview Lab → · Contrast checker → · Palette generator →

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