#403ABC#403ABC

#403ABC is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.4% C 0.196 H 276.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#403ABC
RGBrgb(64, 58, 188)
HSLhsl(243, 53%, 48%)
HSVhsv(243, 69%, 74%)
CMYKcmyk(66%, 69.1%, 0%, 26.3%)
CIE-LABlab(33.45, 42.49, -67.37)
CIE-LCHlch(33.45, 79.65, 302.24°)
OKLaboklab(44.42% 0.0235 -0.1945)
OKLCHoklch(44.42% 0.196 276.9)
XYZxyz(12.7016, 7.7459, 48.3929)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403ABC #B6BC3A
analogous
#3A75BC #403ABC #813ABC
triadic
#403ABC #BC403A #3ABC40
tetradic
#403ABC #BC3A75 #B6BC3A #3ABC81
square
#403ABC #BC3A75 #B6BC3A #3ABC81
split-complementary
#403ABC #BC813A #75BC3A
monochromatic
#201D5E #302C8D #403ABC #6964CF #9693DE

Accessibility & contrast

On white

8.24
#403ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#403ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403ABC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403ABC#FFFFFF#000000##FFFFFF
##403ABC1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #403abc;
/* rgb */ color: rgb(64, 58, 188);
/* oklch */ color: oklch(44.4% 0.196 276.9);
Tailwind
colors: {
  custom: {
    50: '#8471d1',
    500: '#403abc',
    950: '#000000',
  },
}
SCSS
$custom: #403abc;
$custom-light: #8471d1;
$custom-dark: #000000;
JSON
{
  "hex": "#403abc",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 188
  },
  "hsl": {
    "h": 242.769,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44421,
    "c": 0.19591,
    "h": 276.9
  },
  "luminance": 0.07747
}

Semantic roles & 50–950 ramp

primary
#403ABC
secondary
#C6C989
accent
#DC4CD6
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #403ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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