#403E70#403E70

#403E70 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.1% C 0.083 H 283.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#403E70
RGBrgb(64, 62, 112)
HSLhsl(242, 29%, 34%)
HSVhsv(242, 45%, 44%)
CMYKcmyk(42.9%, 44.6%, 0%, 56.1%)
CIE-LABlab(28.66, 14.69, -28.70)
CIE-LCHlch(28.66, 32.24, 297.10°)
OKLaboklab(39.07% 0.0197 -0.081)
OKLCHoklch(39.07% 0.083 283.7)
XYZxyz(6.7608, 5.7048, 16.0710)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E70 #6E703E
analogous
#3E5570 #403E70 #593E70
triadic
#403E70 #70403E #3E7040
tetradic
#403E70 #703E55 #6E703E #3E7059
square
#403E70 #703E55 #6E703E #3E7059
split-complementary
#403E70 #70593E #55703E
monochromatic
#131221 #292849 #403E70 #575497 #7876B3

Accessibility & contrast

On white

9.81
#403E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#403E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E70
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E70#FFFFFF#000000##FFFFFF
##403E701.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4572
Deuteranopia (green-blind)
#2A426F
Tritanopia (blue-blind)
#324851
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #403e70;
/* rgb */ color: rgb(64, 62, 112);
/* oklch */ color: oklch(39.1% 0.083 283.7);
Tailwind
colors: {
  custom: {
    50: '#777399',
    500: '#403e70',
    950: '#000000',
  },
}
SCSS
$custom: #403e70;
$custom-light: #777399;
$custom-dark: #000000;
JSON
{
  "hex": "#403e70",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 112
  },
  "hsl": {
    "h": 242.4,
    "s": 28.736,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39068,
    "c": 0.08332,
    "h": 283.7
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#403E70
secondary
#9B9D6C
accent
#C563C1
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09080E
muted
#7B7B7E

Preview Lab

Preview with #403E70

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

Preview Lab → · Contrast checker → · Palette generator →

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