#40569F#40569F

#40569F is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.121 H 268.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#40569F
RGBrgb(64, 86, 159)
HSLhsl(226, 43%, 44%)
HSVhsv(226, 60%, 62%)
CMYKcmyk(59.7%, 45.9%, 0%, 37.6%)
CIE-LABlab(38.28, 14.73, -42.30)
CIE-LCHlch(38.28, 44.79, 289.20°)
OKLaboklab(47.33% -0.0024 -0.1206)
OKLCHoklch(47.33% 0.121 268.8)
XYZxyz(11.6980, 10.2478, 34.1557)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40569F #9F8940
analogous
#40859F #40569F #59409F
triadic
#40569F #9F4056 #569F40
tetradic
#40569F #9F4085 #9F8940 #409F59
square
#40569F #9F4085 #9F8940 #409F59
split-complementary
#40569F #9F5940 #859F40
monochromatic
#1D2748 #2E3E73 #40569F #5E74BE #8A9AD0

Accessibility & contrast

On white

6.89
#40569F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#40569F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40569F
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40569F#FFFFFF#000000##FFFFFF
##40569F1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345FA2
Deuteranopia (green-blind)
#27569D
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #40569f;
/* rgb */ color: rgb(64, 86, 159);
/* oklch */ color: oklch(47.3% 0.121 268.8);
Tailwind
colors: {
  custom: {
    50: '#7d85bc',
    500: '#40569f',
    950: '#000000',
  },
}
SCSS
$custom: #40569f;
$custom-light: #7d85bc;
$custom-dark: #000000;
JSON
{
  "hex": "#40569f",
  "rgb": {
    "r": 64,
    "g": 86,
    "b": 159
  },
  "hsl": {
    "h": 226.105,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47327,
    "c": 0.12063,
    "h": 268.8
  },
  "luminance": 0.10249
}

Semantic roles & 50–950 ramp

primary
#40569F
secondary
#BBAD80
accent
#B555D2
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #40569F

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

Preview Lab → · Contrast checker → · Palette generator →

#40569F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva