#40559C#40559C

#40559C is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.9% C 0.118 H 269.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#40559C
RGBrgb(64, 85, 156)
HSLhsl(226, 42%, 43%)
HSVhsv(226, 59%, 61%)
CMYKcmyk(59%, 45.5%, 0%, 38.8%)
CIE-LABlab(37.82, 14.33, -41.25)
CIE-LCHlch(37.82, 43.67, 289.16°)
OKLaboklab(46.91% -0.0018 -0.1175)
OKLCHoklch(46.91% 0.118 269.1)
XYZxyz(11.3616, 9.9864, 32.7749)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40559C #9C8740
analogous
#40839C #40559C #59409C
triadic
#40559C #9C4055 #559C40
tetradic
#40559C #9C4083 #9C8740 #409C59
square
#40559C #9C4083 #9C8740 #409C59
split-complementary
#40559C #9C5940 #839C40
monochromatic
#1C2645 #2E3D71 #40559C #5D73BC #8898CE

Accessibility & contrast

On white

7.01
#40559C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#40559C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40559C
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40559C#FFFFFF#000000##FFFFFF
##40559C1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355D9F
Deuteranopia (green-blind)
#28559A
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #40559c;
/* rgb */ color: rgb(64, 85, 156);
/* oklch */ color: oklch(46.9% 0.118 269.1);
Tailwind
colors: {
  custom: {
    50: '#7d84ba',
    500: '#40559c',
    950: '#000000',
  },
}
SCSS
$custom: #40559c;
$custom-light: #7d84ba;
$custom-dark: #000000;
JSON
{
  "hex": "#40559c",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 156
  },
  "hsl": {
    "h": 226.304,
    "s": 41.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46912,
    "c": 0.11754,
    "h": 269.1
  },
  "luminance": 0.09987
}

Semantic roles & 50–950 ramp

primary
#40559C
secondary
#B9AC7F
accent
#B556D2
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #40559C

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

Preview Lab → · Contrast checker → · Palette generator →

#40559C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva