#40557B#40557B

#40557B is a dark, moderate blue. Relative luminance 0.090; OKLCH L 44.9% C 0.068 H 261.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#40557B
RGBrgb(64, 85, 123)
HSLhsl(219, 32%, 37%)
HSVhsv(219, 48%, 48%)
CMYKcmyk(48%, 30.9%, 0%, 51.8%)
CIE-LABlab(36.02, 3.15, -24.02)
CIE-LCHlch(36.02, 24.22, 277.48°)
OKLaboklab(44.93% -0.0097 -0.0673)
OKLCHoklch(44.93% 0.068 261.8)
XYZxyz(8.9368, 9.0165, 20.0045)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40557B #7B6640
analogous
#40737B #40557B #49407B
triadic
#40557B #7B4055 #557B40
tetradic
#40557B #7B4073 #7B6640 #407B49
square
#40557B #7B4073 #7B6640 #407B49
split-complementary
#40557B #7B4940 #737B40
monochromatic
#161D2A #2B3953 #40557B #5571A3 #7B92BA

Accessibility & contrast

On white

7.49
#40557B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#40557B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40557B
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40557B#FFFFFF#000000##FFFFFF
##40557B1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587D
Deuteranopia (green-blind)
#40527A
Tritanopia (blue-blind)
#295D62
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #40557b;
/* rgb */ color: rgb(64, 85, 123);
/* oklch */ color: oklch(44.9% 0.068 261.8);
Tailwind
colors: {
  custom: {
    50: '#7884a1',
    500: '#40557b',
    950: '#000000',
  },
}
SCSS
$custom: #40557b;
$custom-light: #7884a1;
$custom-dark: #000000;
JSON
{
  "hex": "#40557b",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 123
  },
  "hsl": {
    "h": 218.644,
    "s": 31.551,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44932,
    "c": 0.06795,
    "h": 261.8
  },
  "luminance": 0.09017
}

Semantic roles & 50–950 ramp

primary
#40557B
secondary
#A59372
accent
#A360C8
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#090A0F
muted
#7B7C7E

Preview Lab

Preview with #40557B

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

Preview Lab → · Contrast checker → · Palette generator →

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