#40649F#40649F

#40649F is a mid, moderate blue. Relative luminance 0.127; OKLCH L 50.4% C 0.103 H 259.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#40649F
RGBrgb(64, 100, 159)
HSLhsl(217, 43%, 44%)
HSVhsv(217, 60%, 62%)
CMYKcmyk(59.7%, 37.1%, 0%, 37.6%)
CIE-LABlab(42.32, 5.77, -35.89)
CIE-LCHlch(42.32, 36.35, 279.13°)
OKLaboklab(50.44% -0.0182 -0.1017)
OKLCHoklch(50.44% 0.103 259.8)
XYZxyz(12.9273, 12.7064, 34.5655)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40649F #9F7B40
analogous
#40939F #40649F #4B409F
triadic
#40649F #9F4064 #649F40
tetradic
#40649F #9F4093 #9F7B40 #409F4B
square
#40649F #9F4093 #9F7B40 #409F4B
split-complementary
#40649F #9F4B40 #939F40
monochromatic
#1D2D48 #2E4973 #40649F #5E82BE #8AA4D0

Accessibility & contrast

On white

5.93
#40649F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#40649F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40649F
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40649F#FFFFFF#000000##FFFFFF
##40649F1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B69A1
Deuteranopia (green-blind)
#3F609E
Tritanopia (blue-blind)
#00717A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #40649f;
/* rgb */ color: rgb(64, 100, 159);
/* oklch */ color: oklch(50.4% 0.103 259.8);
Tailwind
colors: {
  custom: {
    50: '#7d8fbb',
    500: '#40649f',
    950: '#000000',
  },
}
SCSS
$custom: #40649f;
$custom-light: #7d8fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#40649f",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 159
  },
  "hsl": {
    "h": 217.263,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50438,
    "c": 0.10328,
    "h": 259.8
  },
  "luminance": 0.12708
}

Semantic roles & 50–950 ramp

primary
#40649F
secondary
#BBA480
accent
#A355D2
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #40649F

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

Preview Lab → · Contrast checker → · Palette generator →

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