#403D63#403D63

#403D63 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.1% C 0.064 H 286.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#403D63
RGBrgb(64, 61, 99)
HSLhsl(245, 24%, 31%)
HSVhsv(245, 38%, 39%)
CMYKcmyk(35.4%, 38.4%, 0%, 61.2%)
CIE-LABlab(27.65, 11.32, -21.98)
CIE-LCHlch(27.65, 24.72, 297.26°)
OKLaboklab(38.07% 0.0182 -0.0614)
OKLCHoklch(38.07% 0.064 286.5)
XYZxyz(6.0346, 5.3282, 12.5125)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D63 #60633D
analogous
#3D4D63 #403D63 #533D63
triadic
#403D63 #63403D #3D6340
tetradic
#403D63 #633D4D #60633D #3D6353
square
#403D63 #633D4D #60633D #3D6353
split-complementary
#403D63 #63533D #4D633D
monochromatic
#0F0E17 #28263D #403D63 #585489 #7672A8

Accessibility & contrast

On white

10.17
#403D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#403D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D63
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D63#FFFFFF#000000##FFFFFF
##403D631.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324265
Deuteranopia (green-blind)
#314062
Tritanopia (blue-blind)
#37444B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #403d63;
/* rgb */ color: rgb(64, 61, 99);
/* oklch */ color: oklch(38.1% 0.064 286.5);
Tailwind
colors: {
  custom: {
    50: '#76728f',
    500: '#403d63',
    950: '#000000',
  },
}
SCSS
$custom: #403d63;
$custom-light: #76728f;
$custom-dark: #000000;
JSON
{
  "hex": "#403d63",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 99
  },
  "hsl": {
    "h": 244.737,
    "s": 23.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38066,
    "c": 0.06405,
    "h": 286.5
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#403D63
secondary
#909369
accent
#C068B9
background
#F7F6F8
surface
#EDECF0
border
#C8C7CB
text
#08080C
muted
#7B7B7D

Preview Lab

Preview with #403D63

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

Preview Lab → · Contrast checker → · Palette generator →

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