#40529C#40529C

#40529C is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.3% C 0.122 H 270.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#40529C
RGBrgb(64, 82, 156)
HSLhsl(228, 42%, 43%)
HSVhsv(228, 59%, 61%)
CMYKcmyk(59%, 47.4%, 0%, 38.8%)
CIE-LABlab(36.97, 16.28, -42.60)
CIE-LCHlch(36.97, 45.60, 290.92°)
OKLaboklab(46.27% 0.0016 -0.1215)
OKLCHoklch(46.27% 0.122 270.7)
XYZxyz(11.1304, 9.5240, 32.6978)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40529C #9C8A40
analogous
#40809C #40529C #5C409C
triadic
#40529C #9C4052 #529C40
tetradic
#40529C #9C4080 #9C8A40 #409C5C
square
#40529C #9C4080 #9C8A40 #409C5C
split-complementary
#40529C #9C5C40 #809C40
monochromatic
#1C2445 #2E3B71 #40529C #5D6FBC #8896CE

Accessibility & contrast

On white

7.23
#40529C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#40529C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40529C
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40529C#FFFFFF#000000##FFFFFF
##40529C1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9F
Deuteranopia (green-blind)
#22539A
Tritanopia (blue-blind)
#00636F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #40529c;
/* rgb */ color: rgb(64, 82, 156);
/* oklch */ color: oklch(46.3% 0.122 270.7);
Tailwind
colors: {
  custom: {
    50: '#7d82ba',
    500: '#40529c',
    950: '#000000',
  },
}
SCSS
$custom: #40529c;
$custom-light: #7d82ba;
$custom-dark: #000000;
JSON
{
  "hex": "#40529c",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 156
  },
  "hsl": {
    "h": 228.261,
    "s": 41.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46268,
    "c": 0.12154,
    "h": 270.7
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#40529C
secondary
#B9AE7F
accent
#B956D2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #40529C

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

Preview Lab → · Contrast checker → · Palette generator →

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