#403B74#403B74

#403B74 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.7% C 0.094 H 285.1°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#403B74
RGBrgb(64, 59, 116)
HSLhsl(245, 33%, 34%)
HSVhsv(245, 49%, 45%)
CMYKcmyk(44.8%, 49.1%, 0%, 54.5%)
CIE-LABlab(28.06, 17.97, -32.19)
CIE-LCHlch(28.06, 36.87, 299.17°)
OKLaboklab(38.69% 0.0246 -0.0912)
OKLCHoklch(38.69% 0.094 285.1)
XYZxyz(6.8298, 5.4786, 17.2172)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B74 #6F743B
analogous
#3B5374 #403B74 #5D3B74
triadic
#403B74 #74403B #3B7440
tetradic
#403B74 #743B53 #6F743B #3B745D
square
#403B74 #743B53 #6F743B #3B745D
split-complementary
#403B74 #745D3B #53743B
monochromatic
#131223 #2A264B #403B74 #56509D #7872B7

Accessibility & contrast

On white

10.02
#403B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#403B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B74
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B74#FFFFFF#000000##FFFFFF
##403B741.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244476
Deuteranopia (green-blind)
#234073
Tritanopia (blue-blind)
#304752
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #403b74;
/* rgb */ color: rgb(64, 59, 116);
/* oklch */ color: oklch(38.7% 0.094 285.1);
Tailwind
colors: {
  custom: {
    50: '#78719c',
    500: '#403b74',
    950: '#000000',
  },
}
SCSS
$custom: #403b74;
$custom-light: #78719c;
$custom-dark: #000000;
JSON
{
  "hex": "#403b74",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 116
  },
  "hsl": {
    "h": 245.263,
    "s": 32.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38693,
    "c": 0.09443,
    "h": 285.1
  },
  "luminance": 0.05479
}

Semantic roles & 50–950 ramp

primary
#403B74
secondary
#9CA16A
accent
#C95FBF
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #403B74

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

Preview Lab → · Contrast checker → · Palette generator →

#403B74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva