#40567A#40567A

#40567A is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.1% C 0.065 H 260.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#40567A
RGBrgb(64, 86, 122)
HSLhsl(217, 31%, 36%)
HSVhsv(217, 48%, 48%)
CMYKcmyk(47.5%, 29.5%, 0%, 52.2%)
CIE-LABlab(36.27, 2.20, -23.00)
CIE-LCHlch(36.27, 23.10, 275.46°)
OKLaboklab(45.12% -0.0114 -0.0643)
OKLCHoklch(45.12% 0.065 260)
XYZxyz(8.9538, 9.1501, 19.7029)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40567A #7A6440
analogous
#40737A #40567A #47407A
triadic
#40567A #7A4056 #567A40
tetradic
#40567A #7A4073 #7A6440 #407A47
square
#40567A #7A4073 #7A6440 #407A47
split-complementary
#40567A #7A4740 #737A40
monochromatic
#161D2A #2B3A52 #40567A #5572A2 #7B93BA

Accessibility & contrast

On white

7.42
#40567A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#40567A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40567A
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40567A#FFFFFF#000000##FFFFFF
##40567A1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587C
Deuteranopia (green-blind)
#425379
Tritanopia (blue-blind)
#295E63
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #40567a;
/* rgb */ color: rgb(64, 86, 122);
/* oklch */ color: oklch(45.1% 0.065 260.0);
Tailwind
colors: {
  custom: {
    50: '#7885a0',
    500: '#40567a',
    950: '#000000',
  },
}
SCSS
$custom: #40567a;
$custom-light: #7885a0;
$custom-dark: #000000;
JSON
{
  "hex": "#40567a",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 122
  },
  "hsl": {
    "h": 217.241,
    "s": 31.183,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45116,
    "c": 0.06533,
    "h": 260
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#40567A
secondary
#A49172
accent
#A060C7
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#090B0E
muted
#7B7C7E

Preview Lab

Preview with #40567A

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

Preview Lab → · Contrast checker → · Palette generator →

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