#423495#423495

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

Color values

HEX#423495
RGBrgb(66, 52, 149)
HSLhsl(249, 48%, 39%)
HSVhsv(249, 65%, 58%)
CMYKcmyk(55.7%, 65.1%, 0%, 41.6%)
CIE-LABlab(28.86, 33.67, -51.45)
CIE-LCHlch(28.86, 61.49, 303.20°)
OKLaboklab(40.09% 0.0361 -0.1477)
OKLCHoklch(40.09% 0.152 283.7)
XYZxyz(8.8979, 5.7836, 29.0754)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423495 #879534
analogous
#345795 #423495 #733495
triadic
#423495 #954234 #349542
tetradic
#423495 #953457 #879534 #349573
square
#423495 #953457 #879534 #349573
split-complementary
#423495 #957334 #579534
monochromatic
#1A143A #2E2468 #423495 #5947BF #8275CF

Accessibility & contrast

On white

9.74
#423495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#423495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423495
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423495#FFFFFF#000000##FFFFFF
##4234951.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#1D4C5F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #423495;
/* rgb */ color: rgb(66, 52, 149);
/* oklch */ color: oklch(40.1% 0.152 283.7);
Tailwind
colors: {
  custom: {
    50: '#7f6cb5',
    500: '#423495',
    950: '#000000',
  },
}
SCSS
$custom: #423495;
$custom-light: #7f6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#423495",
  "rgb": {
    "r": 66,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 248.66,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40093,
    "c": 0.15209,
    "h": 283.7
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#423495
secondary
#ACB76E
accent
#D850C4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #423495

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

Preview Lab → · Contrast checker → · Palette generator →

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