#423997#423997

#423997 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.148 H 282.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#423997
RGBrgb(66, 57, 151)
HSLhsl(246, 45%, 41%)
HSVhsv(246, 62%, 59%)
CMYKcmyk(56.3%, 62.3%, 0%, 40.8%)
CIE-LABlab(30.20, 31.21, -50.49)
CIE-LCHlch(30.20, 59.35, 301.72°)
OKLaboklab(41.12% 0.0309 -0.1449)
OKLCHoklch(41.12% 0.148 282)
XYZxyz(9.2941, 6.3183, 30.0020)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423997 #8E9739
analogous
#395F97 #423997 #713997
triadic
#423997 #974239 #399742
tetradic
#423997 #97395F #8E9739 #399771
square
#423997 #97395F #8E9739 #399771
split-complementary
#423997 #977139 #5F9739
monochromatic
#1B173E #2F286B #423997 #5B50BD #847DCE

Accessibility & contrast

On white

9.28
#423997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#423997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423997
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423997#FFFFFF#000000##FFFFFF
##4239971.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#195062
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #423997;
/* rgb */ color: rgb(66, 57, 151);
/* oklch */ color: oklch(41.1% 0.148 282.0);
Tailwind
colors: {
  custom: {
    50: '#7f70b6',
    500: '#423997',
    950: '#000000',
  },
}
SCSS
$custom: #423997;
$custom-light: #7f70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#423997",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 151
  },
  "hsl": {
    "h": 245.745,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41123,
    "c": 0.14815,
    "h": 282
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#423997
secondary
#B1B775
accent
#D553C8
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #423997

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

Preview Lab → · Contrast checker → · Palette generator →

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