#403CB0#403CB0

#403CB0 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.178 H 277.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#403CB0
RGBrgb(64, 60, 176)
HSLhsl(242, 49%, 46%)
HSVhsv(242, 66%, 69%)
CMYKcmyk(63.6%, 65.9%, 0%, 31%)
CIE-LABlab(32.82, 37.32, -61.29)
CIE-LCHlch(32.82, 71.76, 301.34°)
OKLaboklab(43.64% 0.0235 -0.1767)
OKLCHoklch(43.64% 0.178 277.6)
XYZxyz(11.5642, 7.4554, 41.8955)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403CB0 #ACB03C
analogous
#3C72B0 #403CB0 #7A3CB0
triadic
#403CB0 #B0403C #3CB040
tetradic
#403CB0 #B03C72 #ACB03C #3CB07A
square
#403CB0 #B03C72 #ACB03C #3CB07A
split-complementary
#403CB0 #B07A3C #72B03C
monochromatic
#1F1D55 #2F2C82 #403CB0 #6460C9 #918ED8

Accessibility & contrast

On white

8.43
#403CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#403CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403CB0
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403CB0#FFFFFF#000000##FFFFFF
##403CB01.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #403cb0;
/* rgb */ color: rgb(64, 60, 176);
/* oklch */ color: oklch(43.6% 0.178 277.6);
Tailwind
colors: {
  custom: {
    50: '#8272c9',
    500: '#403cb0',
    950: '#000000',
  },
}
SCSS
$custom: #403cb0;
$custom-light: #8272c9;
$custom-dark: #000000;
JSON
{
  "hex": "#403cb0",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 176
  },
  "hsl": {
    "h": 242.069,
    "s": 49.153,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43641,
    "c": 0.17823,
    "h": 277.6
  },
  "luminance": 0.07456
}

Semantic roles & 50–950 ramp

primary
#403CB0
secondary
#C1C385
accent
#D94FD4
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #403CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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