#40469C#40469C

#40469C is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.138 H 276.1°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#40469C
RGBrgb(64, 70, 156)
HSLhsl(236, 42%, 43%)
HSVhsv(236, 59%, 61%)
CMYKcmyk(59%, 55.1%, 0%, 38.8%)
CIE-LABlab(33.71, 24.14, -47.85)
CIE-LCHlch(33.71, 53.59, 296.77°)
OKLaboklab(43.8% 0.0147 -0.1371)
OKLCHoklch(43.8% 0.138 276.1)
XYZxyz(10.3033, 7.8699, 32.4221)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40469C #9C9640
analogous
#40749C #40469C #68409C
triadic
#40469C #9C4046 #469C40
tetradic
#40469C #9C4074 #9C9640 #409C68
square
#40469C #9C4074 #9C9640 #409C68
split-complementary
#40469C #9C6840 #749C40
monochromatic
#1C1F45 #2E3371 #40469C #5D63BC #888DCE

Accessibility & contrast

On white

8.16
#40469C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#40469C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40469C
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40469C#FFFFFF#000000##FFFFFF
##40469C1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D539F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#015A6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #40469c;
/* rgb */ color: rgb(64, 70, 156);
/* oklch */ color: oklch(43.8% 0.138 276.1);
Tailwind
colors: {
  custom: {
    50: '#7d79ba',
    500: '#40469c',
    950: '#000000',
  },
}
SCSS
$custom: #40469c;
$custom-light: #7d79ba;
$custom-dark: #000000;
JSON
{
  "hex": "#40469c",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 156
  },
  "hsl": {
    "h": 236.087,
    "s": 41.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43802,
    "c": 0.13788,
    "h": 276.1
  },
  "luminance": 0.07871
}

Semantic roles & 50–950 ramp

primary
#40469C
secondary
#B9B57F
accent
#CA56D2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #40469C

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

Preview Lab → · Contrast checker → · Palette generator →

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