#40608D#40608D

#40608D is a mid, moderate blue. Relative luminance 0.114; OKLCH L 48.5% C 0.082 H 257.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#40608D
RGBrgb(64, 96, 141)
HSLhsl(215, 38%, 40%)
HSVhsv(215, 55%, 55%)
CMYKcmyk(54.6%, 31.9%, 0%, 44.7%)
CIE-LABlab(40.21, 2.14, -28.43)
CIE-LCHlch(40.21, 28.51, 274.30°)
OKLaboklab(48.49% -0.0184 -0.08)
OKLCHoklch(48.49% 0.082 257)
XYZxyz(11.1033, 11.3780, 26.8052)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40608D #8D6D40
analogous
#40868D #40608D #46408D
triadic
#40608D #8D4060 #608D40
tetradic
#40608D #8D4086 #8D6D40 #408D46
square
#40608D #8D4086 #8D6D40 #408D46
split-complementary
#40608D #8D4640 #868D40
monochromatic
#1A2739 #2D4363 #40608D #577DB3 #819EC6

Accessibility & contrast

On white

6.41
#40608D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#40608D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40608D
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40608D#FFFFFF#000000##FFFFFF
##40608D1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E638F
Deuteranopia (green-blind)
#455B8C
Tritanopia (blue-blind)
#166A70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #40608d;
/* rgb */ color: rgb(64, 96, 141);
/* oklch */ color: oklch(48.5% 0.082 257.0);
Tailwind
colors: {
  custom: {
    50: '#7a8cae',
    500: '#40608d',
    950: '#000000',
  },
}
SCSS
$custom: #40608d;
$custom-light: #7a8cae;
$custom-dark: #000000;
JSON
{
  "hex": "#40608d",
  "rgb": {
    "r": 64,
    "g": 96,
    "b": 141
  },
  "hsl": {
    "h": 215.065,
    "s": 37.561,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48494,
    "c": 0.0821,
    "h": 257
  },
  "luminance": 0.11379
}

Semantic roles & 50–950 ramp

primary
#40608D
secondary
#B09978
accent
#9E5ACE
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#0A0C10
muted
#7C7D7F

Preview Lab

Preview with #40608D

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

Preview Lab → · Contrast checker → · Palette generator →

#40608D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva