#40599B#40599B

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

Color values

HEX#40599B
RGBrgb(64, 89, 155)
HSLhsl(224, 42%, 43%)
HSVhsv(224, 59%, 61%)
CMYKcmyk(58.7%, 42.6%, 0%, 39.2%)
CIE-LABlab(38.90, 11.39, -38.92)
CIE-LCHlch(38.90, 40.55, 286.31°)
OKLaboklab(47.72% -0.0065 -0.1107)
OKLCHoklch(47.72% 0.111 266.6)
XYZxyz(11.6011, 10.6004, 32.4387)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40599B #9B8240
analogous
#40879B #40599B #54409B
triadic
#40599B #9B4059 #599B40
tetradic
#40599B #9B4087 #9B8240 #409B54
square
#40599B #9B4087 #9B8240 #409B54
split-complementary
#40599B #9B5440 #879B40
monochromatic
#1C2744 #2E4070 #40599B #5C77BC #889BCE

Accessibility & contrast

On white

6.73
#40599B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#40599B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40599B
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40599B#FFFFFF#000000##FFFFFF
##40599B1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C609E
Deuteranopia (green-blind)
#30589A
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #40599b;
/* rgb */ color: rgb(64, 89, 155);
/* oklch */ color: oklch(47.7% 0.111 266.6);
Tailwind
colors: {
  custom: {
    50: '#7c87b9',
    500: '#40599b',
    950: '#000000',
  },
}
SCSS
$custom: #40599b;
$custom-light: #7c87b9;
$custom-dark: #000000;
JSON
{
  "hex": "#40599b",
  "rgb": {
    "r": 64,
    "g": 89,
    "b": 155
  },
  "hsl": {
    "h": 223.516,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47722,
    "c": 0.11085,
    "h": 266.6
  },
  "luminance": 0.10601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40599B

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

Preview Lab → · Contrast checker → · Palette generator →

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