#403ABF#403ABF

#403ABF is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.7% C 0.200 H 276.6°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#403ABF
RGBrgb(64, 58, 191)
HSLhsl(243, 53%, 49%)
HSVhsv(243, 70%, 75%)
CMYKcmyk(66.5%, 69.6%, 0%, 25.1%)
CIE-LABlab(33.72, 43.47, -68.69)
CIE-LCHlch(33.72, 81.29, 302.33°)
OKLaboklab(44.7% 0.023 -0.1983)
OKLCHoklch(44.7% 0.2 276.6)
XYZxyz(13.0283, 7.8766, 50.1139)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403ABF #B9BF3A
analogous
#3A77BF #403ABF #833ABF
triadic
#403ABF #BF403A #3ABF40
tetradic
#403ABF #BF3A77 #B9BF3A #3ABF83
square
#403ABF #BF3A77 #B9BF3A #3ABF83
split-complementary
#403ABF #BF833A #77BF3A
monochromatic
#211D61 #302C90 #403ABF #6B66D0 #9895DF

Accessibility & contrast

On white

8.15
#403ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#403ABF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403ABF
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403ABF#FFFFFF#000000##FFFFFF
##403ABF1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#0049BD
Tritanopia (blue-blind)
#005E78
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #403abf;
/* rgb */ color: rgb(64, 58, 191);
/* oklch */ color: oklch(44.7% 0.200 276.6);
Tailwind
colors: {
  custom: {
    50: '#8571d3',
    500: '#403abf',
    950: '#000000',
  },
}
SCSS
$custom: #403abf;
$custom-light: #8571d3;
$custom-dark: #000000;
JSON
{
  "hex": "#403abf",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 191
  },
  "hsl": {
    "h": 242.707,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44704,
    "c": 0.19966,
    "h": 276.6
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#403ABF
secondary
#C7CA8B
accent
#DD4BD6
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #403ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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