#422FAB#422FAB

#422FAB is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.3% C 0.186 H 281.5°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#422FAB
RGBrgb(66, 47, 171)
HSLhsl(249, 57%, 43%)
HSVhsv(249, 73%, 67%)
CMYKcmyk(61.4%, 72.5%, 0%, 32.9%)
CIE-LABlab(29.74, 43.61, -63.35)
CIE-LCHlch(29.74, 76.91, 304.54°)
OKLaboklab(41.33% 0.037 -0.1826)
OKLCHoklch(41.33% 0.186 281.5)
XYZxyz(10.6117, 6.1308, 39.1444)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422FAB #98AB2F
analogous
#2F5AAB #422FAB #802FAB
triadic
#422FAB #AB422F #2FAB42
tetradic
#422FAB #AB2F5A #98AB2F #2FAB80
square
#422FAB #AB2F5A #98AB2F #2FAB80
split-complementary
#422FAB #AB802F #5AAB2F
monochromatic
#1D154B #2F227B #422FAB #5E4ACD #897ADA

Accessibility & contrast

On white

9.43
#422FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#422FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422FAB
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422FAB#FFFFFF#000000##FFFFFF
##422FAB1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #422fab;
/* rgb */ color: rgb(66, 47, 171);
/* oklch */ color: oklch(41.3% 0.186 281.5);
Tailwind
colors: {
  custom: {
    50: '#836ac5',
    500: '#422fab',
    950: '#000000',
  },
}
SCSS
$custom: #422fab;
$custom-light: #836ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#422fab",
  "rgb": {
    "r": 66,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 249.194,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41327,
    "c": 0.18636,
    "h": 281.5
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#422FAB
secondary
#B7C373
accent
#E048C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #422FAB

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

Preview Lab → · Contrast checker → · Palette generator →

#422FAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva