#40599A#40599A

#40599A is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.7% C 0.109 H 266.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#40599A
RGBrgb(64, 89, 154)
HSLhsl(223, 41%, 43%)
HSVhsv(223, 58%, 60%)
CMYKcmyk(58.4%, 42.2%, 0%, 39.6%)
CIE-LABlab(38.84, 11.04, -38.42)
CIE-LCHlch(38.84, 39.97, 286.03°)
OKLaboklab(47.66% -0.0067 -0.1092)
OKLCHoklch(47.66% 0.109 266.5)
XYZxyz(11.5175, 10.5669, 31.9983)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40599A #9A8140
analogous
#40869A #40599A #54409A
triadic
#40599A #9A4059 #599A40
tetradic
#40599A #9A4086 #9A8140 #409A54
square
#40599A #9A4086 #9A8140 #409A54
split-complementary
#40599A #9A5440 #869A40
monochromatic
#1C2744 #2E406F #40599A #5C76BB #879BCD

Accessibility & contrast

On white

6.74
#40599A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#40599A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40599A
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40599A#FFFFFF#000000##FFFFFF
##40599A1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D609D
Deuteranopia (green-blind)
#315899
Tritanopia (blue-blind)
#006772
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #40599a;
/* rgb */ color: rgb(64, 89, 154);
/* oklch */ color: oklch(47.7% 0.109 266.5);
Tailwind
colors: {
  custom: {
    50: '#7c87b8',
    500: '#40599a',
    950: '#000000',
  },
}
SCSS
$custom: #40599a;
$custom-light: #7c87b8;
$custom-dark: #000000;
JSON
{
  "hex": "#40599a",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 154
  },
  "hsl": {
    "h": 223.333,
    "s": 41.284,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47659,
    "c": 0.10938,
    "h": 266.5
  },
  "luminance": 0.10568
}

Semantic roles & 50–950 ramp

primary
#40599A
secondary
#B8A87E
accent
#AF57D1
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #40599A

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

Preview Lab → · Contrast checker → · Palette generator →

#40599A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva