#423397#423397

#423397 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.1% C 0.156 H 283.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#423397
RGBrgb(66, 51, 151)
HSLhsl(249, 50%, 40%)
HSVhsv(249, 66%, 59%)
CMYKcmyk(56.3%, 66.2%, 0%, 40.8%)
CIE-LABlab(28.80, 34.93, -52.77)
CIE-LCHlch(28.80, 63.28, 303.50°)
OKLaboklab(40.1% 0.0369 -0.1516)
OKLCHoklch(40.1% 0.156 283.7)
XYZxyz(9.0148, 5.7597, 29.9089)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423397 #889733
analogous
#335697 #423397 #743397
triadic
#423397 #974233 #339742
tetradic
#423397 #973356 #889733 #339774
square
#423397 #973356 #889733 #339774
split-complementary
#423397 #977433 #569733
monochromatic
#1A143C #2E2469 #423397 #5947C1 #8274D0

Accessibility & contrast

On white

9.76
#423397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#423397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423397
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423397#FFFFFF#000000##FFFFFF
##4233971.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#1A4C60
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #423397;
/* rgb */ color: rgb(66, 51, 151);
/* oklch */ color: oklch(40.1% 0.156 283.7);
Tailwind
colors: {
  custom: {
    50: '#7f6cb6',
    500: '#423397',
    950: '#000000',
  },
}
SCSS
$custom: #423397;
$custom-light: #7f6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#423397",
  "rgb": {
    "r": 66,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 249,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.401,
    "c": 0.15606,
    "h": 283.7
  },
  "luminance": 0.0576
}

Semantic roles & 50–950 ramp

primary
#423397
secondary
#ADB86D
accent
#D94FC4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #423397

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

Preview Lab → · Contrast checker → · Palette generator →

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