#403BBF#403BBF

#403BBF is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.9% C 0.199 H 276.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#403BBF
RGBrgb(64, 59, 191)
HSLhsl(242, 53%, 49%)
HSVhsv(242, 69%, 75%)
CMYKcmyk(66.5%, 69.1%, 0%, 25.1%)
CIE-LABlab(33.94, 42.89, -68.33)
CIE-LCHlch(33.94, 80.68, 302.11°)
OKLaboklab(44.86% 0.0223 -0.1973)
OKLCHoklch(44.86% 0.199 276.5)
XYZxyz(13.0792, 7.9784, 50.1308)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403BBF #BABF3B
analogous
#3B78BF #403BBF #823BBF
triadic
#403BBF #BF403B #3BBF40
tetradic
#403BBF #BF3B78 #BABF3B #3BBF82
square
#403BBF #BF3B78 #BABF3B #3BBF82
split-complementary
#403BBF #BF823B #78BF3B
monochromatic
#211E61 #302D90 #403BBF #6B67D0 #9996DF

Accessibility & contrast

On white

8.09
#403BBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#403BBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403BBF
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403BBF#FFFFFF#000000##FFFFFF
##403BBF1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#004ABD
Tritanopia (blue-blind)
#005F78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #403bbf;
/* rgb */ color: rgb(64, 59, 191);
/* oklch */ color: oklch(44.9% 0.199 276.5);
Tailwind
colors: {
  custom: {
    50: '#8572d3',
    500: '#403bbf',
    950: '#000000',
  },
}
SCSS
$custom: #403bbf;
$custom-light: #8572d3;
$custom-dark: #000000;
JSON
{
  "hex": "#403bbf",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 191
  },
  "hsl": {
    "h": 242.273,
    "s": 52.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44858,
    "c": 0.19857,
    "h": 276.5
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #403BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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