#403BBE#403BBE

#403BBE is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.8% C 0.197 H 276.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#403BBE
RGBrgb(64, 59, 190)
HSLhsl(242, 53%, 49%)
HSVhsv(242, 69%, 75%)
CMYKcmyk(66.3%, 68.9%, 0%, 25.5%)
CIE-LABlab(33.85, 42.56, -67.90)
CIE-LCHlch(33.85, 80.13, 302.08°)
OKLaboklab(44.76% 0.0225 -0.196)
OKLCHoklch(44.76% 0.197 276.5)
XYZxyz(12.9695, 7.9345, 49.5532)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BBE #B9BE3B
analogous
#3B78BE #403BBE #823BBE
triadic
#403BBE #BE403B #3BBE40
tetradic
#403BBE #BE3B78 #B9BE3B #3BBE82
square
#403BBE #BE3B78 #B9BE3B #3BBE82
split-complementary
#403BBE #BE823B #78BE3B
monochromatic
#211E61 #302C8F #403BBE #6B67D0 #9895DE

Accessibility & contrast

On white

8.12
#403BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#403BBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BBE
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BBE#FFFFFF#000000##FFFFFF
##403BBE1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#004ABC
Tritanopia (blue-blind)
#005E78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #403bbe;
/* rgb */ color: rgb(64, 59, 190);
/* oklch */ color: oklch(44.8% 0.197 276.5);
Tailwind
colors: {
  custom: {
    50: '#8572d3',
    500: '#403bbe',
    950: '#000000',
  },
}
SCSS
$custom: #403bbe;
$custom-light: #8572d3;
$custom-dark: #000000;
JSON
{
  "hex": "#403bbe",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 242.29,
    "s": 52.61,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44764,
    "c": 0.19731,
    "h": 276.5
  },
  "luminance": 0.07936
}

Semantic roles & 50–950 ramp

primary
#403BBE
secondary
#C7CA8B
accent
#DC4CD7
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #403BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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