#423797#423797

#423797 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.151 H 282.6°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#423797
RGBrgb(66, 55, 151)
HSLhsl(247, 47%, 40%)
HSVhsv(247, 64%, 59%)
CMYKcmyk(56.3%, 63.6%, 0%, 40.8%)
CIE-LABlab(29.72, 32.46, -51.26)
CIE-LCHlch(29.72, 60.68, 302.34°)
OKLaboklab(40.77% 0.0329 -0.1472)
OKLCHoklch(40.77% 0.151 282.6)
XYZxyz(9.1972, 6.1244, 29.9697)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423797 #8C9737
analogous
#375C97 #423797 #723797
triadic
#423797 #974237 #379742
tetradic
#423797 #97375C #8C9737 #379772
square
#423797 #97375C #8C9737 #379772
split-complementary
#423797 #977237 #5C9737
monochromatic
#1B163D #2E276A #423797 #5A4DBE #847ACF

Accessibility & contrast

On white

9.44
#423797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#423797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423797
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423797#FFFFFF#000000##FFFFFF
##4237971.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#1A4E61
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #423797;
/* rgb */ color: rgb(66, 55, 151);
/* oklch */ color: oklch(40.8% 0.151 282.6);
Tailwind
colors: {
  custom: {
    50: '#7f6eb6',
    500: '#423797',
    950: '#000000',
  },
}
SCSS
$custom: #423797;
$custom-light: #7f6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#423797",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 246.875,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40774,
    "c": 0.15082,
    "h": 282.6
  },
  "luminance": 0.06125
}

Semantic roles & 50–950 ramp

primary
#423797
secondary
#B0B872
accent
#D652C7
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #423797

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

Preview Lab → · Contrast checker → · Palette generator →

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