#423D8A#423D8A

#423D8A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.124 H 282.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#423D8A
RGBrgb(66, 61, 138)
HSLhsl(244, 39%, 39%)
HSVhsv(244, 56%, 54%)
CMYKcmyk(52.2%, 55.8%, 0%, 45.9%)
CIE-LABlab(30.23, 24.34, -42.45)
CIE-LCHlch(30.23, 48.94, 299.82°)
OKLaboklab(40.84% 0.0265 -0.1212)
OKLCHoklch(40.84% 0.124 282.3)
XYZxyz(8.5016, 6.3303, 24.8137)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423D8A #858A3D
analogous
#3D5F8A #423D8A #693D8A
triadic
#423D8A #8A423D #3D8A42
tetradic
#423D8A #8A3D5F #858A3D #3D8A69
square
#423D8A #8A3D5F #858A3D #3D8A69
split-complementary
#423D8A #8A693D #5F8A3D
monochromatic
#191735 #2E2A60 #423D8A #5852B2 #817CC5

Accessibility & contrast

On white

9.27
#423D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#423D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423D8A
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423D8A#FFFFFF#000000##FFFFFF
##423D8A1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104A8D
Deuteranopia (green-blind)
#074588
Tritanopia (blue-blind)
#264E5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #423d8a;
/* rgb */ color: rgb(66, 61, 138);
/* oklch */ color: oklch(40.8% 0.124 282.3);
Tailwind
colors: {
  custom: {
    50: '#7c72ad',
    500: '#423d8a',
    950: '#000000',
  },
}
SCSS
$custom: #423d8a;
$custom-light: #7c72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#423d8a",
  "rgb": {
    "r": 66,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 243.896,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40837,
    "c": 0.12411,
    "h": 282.3
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

primary
#423D8A
secondary
#ABAF74
accent
#CF59C7
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #423D8A

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

Preview Lab → · Contrast checker → · Palette generator →

#423D8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva