#40469D#40469D

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

Color values

HEX#40469D
RGBrgb(64, 70, 157)
HSLhsl(236, 42%, 43%)
HSVhsv(236, 59%, 62%)
CMYKcmyk(59.2%, 55.4%, 0%, 38.4%)
CIE-LABlab(33.78, 24.48, -48.34)
CIE-LCHlch(33.78, 54.18, 296.86°)
OKLaboklab(43.88% 0.0147 -0.1385)
OKLCHoklch(43.88% 0.139 276.1)
XYZxyz(10.3884, 7.9039, 32.8699)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40469D #9D9740
analogous
#40749D #40469D #68409D
triadic
#40469D #9D4046 #469D40
tetradic
#40469D #9D4074 #9D9740 #409D68
square
#40469D #9D4074 #9D9740 #409D68
split-complementary
#40469D #9D6840 #749D40
monochromatic
#1D1F46 #2E3372 #40469D #5D63BD #898DCF

Accessibility & contrast

On white

8.14
#40469D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#40469D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40469D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40469D#FFFFFF#000000##FFFFFF
##40469D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B53A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #40469d;
/* rgb */ color: rgb(64, 70, 157);
/* oklch */ color: oklch(43.9% 0.139 276.1);
Tailwind
colors: {
  custom: {
    50: '#7e79bb',
    500: '#40469d',
    950: '#000000',
  },
}
SCSS
$custom: #40469d;
$custom-light: #7e79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#40469d",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 157
  },
  "hsl": {
    "h": 236.129,
    "s": 42.081,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43879,
    "c": 0.13932,
    "h": 276.1
  },
  "luminance": 0.07905
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40469D

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

Preview Lab → · Contrast checker → · Palette generator →

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