#40567E#40567E

#40567E is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.3% C 0.071 H 261.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#40567E
RGBrgb(64, 86, 126)
HSLhsl(219, 33%, 37%)
HSVhsv(219, 49%, 49%)
CMYKcmyk(49.2%, 31.7%, 0%, 50.6%)
CIE-LABlab(36.46, 3.49, -25.16)
CIE-LCHlch(36.46, 25.40, 277.90°)
OKLaboklab(45.33% -0.0101 -0.0706)
OKLCHoklch(45.33% 0.071 261.9)
XYZxyz(9.2068, 9.2513, 21.0352)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40567E #7E6840
analogous
#40757E #40567E #49407E
triadic
#40567E #7E4056 #567E40
tetradic
#40567E #7E4075 #7E6840 #407E49
square
#40567E #7E4075 #7E6840 #407E49
split-complementary
#40567E #7E4940 #757E40
monochromatic
#171F2D #2B3A55 #40567E #5572A7 #7C93BC

Accessibility & contrast

On white

7.37
#40567E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#40567E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40567E
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40567E#FFFFFF#000000##FFFFFF
##40567E1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475980
Deuteranopia (green-blind)
#40537D
Tritanopia (blue-blind)
#275F64
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #40567e;
/* rgb */ color: rgb(64, 86, 126);
/* oklch */ color: oklch(45.3% 0.071 261.9);
Tailwind
colors: {
  custom: {
    50: '#7885a3',
    500: '#40567e',
    950: '#000000',
  },
}
SCSS
$custom: #40567e;
$custom-light: #7885a3;
$custom-dark: #000000;
JSON
{
  "hex": "#40567e",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 126
  },
  "hsl": {
    "h": 218.71,
    "s": 32.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45329,
    "c": 0.07129,
    "h": 261.9
  },
  "luminance": 0.09252
}

Semantic roles & 50–950 ramp

primary
#40567E
secondary
#A79473
accent
#A35FC9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B0F
muted
#7B7C7F

Preview Lab

Preview with #40567E

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

Preview Lab → · Contrast checker → · Palette generator →

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