#423987#423987

#423987 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.126 H 284.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#423987
RGBrgb(66, 57, 135)
HSLhsl(247, 41%, 38%)
HSVhsv(247, 58%, 53%)
CMYKcmyk(51.1%, 57.8%, 0%, 47.1%)
CIE-LABlab(28.99, 25.95, -42.60)
CIE-LCHlch(28.99, 49.88, 301.35°)
OKLaboklab(39.85% 0.0312 -0.1217)
OKLCHoklch(39.85% 0.126 284.4)
XYZxyz(8.0818, 5.8334, 23.6171)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423987 #7E8739
analogous
#395787 #423987 #693987
triadic
#423987 #874239 #398742
tetradic
#423987 #873957 #7E8739 #398769
square
#423987 #873957 #7E8739 #398769
split-complementary
#423987 #876939 #578739
monochromatic
#181531 #2D275C #423987 #574BB2 #7F75C5

Accessibility & contrast

On white

9.69
#423987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#423987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423987
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423987#FFFFFF#000000##FFFFFF
##4239871.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06478A
Deuteranopia (green-blind)
#004285
Tritanopia (blue-blind)
#294B5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #423987;
/* rgb */ color: rgb(66, 57, 135);
/* oklch */ color: oklch(39.8% 0.126 284.4);
Tailwind
colors: {
  custom: {
    50: '#7c6faa',
    500: '#423987',
    950: '#000000',
  },
}
SCSS
$custom: #423987;
$custom-light: #7c6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#423987",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 135
  },
  "hsl": {
    "h": 246.923,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39845,
    "c": 0.12565,
    "h": 284.4
  },
  "luminance": 0.05834
}

Semantic roles & 50–950 ramp

primary
#423987
secondary
#A7AE6E
accent
#D057C2
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #423987

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

Preview Lab → · Contrast checker → · Palette generator →

#423987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva