#423C8A#423C8A

#423C8A is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.126 H 282.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#423C8A
RGBrgb(66, 60, 138)
HSLhsl(245, 39%, 39%)
HSVhsv(245, 57%, 54%)
CMYKcmyk(52.2%, 56.5%, 0%, 45.9%)
CIE-LABlab(29.97, 24.99, -42.87)
CIE-LCHlch(29.97, 49.62, 300.24°)
OKLaboklab(40.64% 0.0277 -0.1225)
OKLCHoklch(40.64% 0.126 282.7)
XYZxyz(8.4487, 6.2245, 24.7961)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423C8A #848A3C
analogous
#3C5D8A #423C8A #693C8A
triadic
#423C8A #8A423C #3C8A42
tetradic
#423C8A #8A3C5D #848A3C #3C8A69
square
#423C8A #8A3C5D #848A3C #3C8A69
split-complementary
#423C8A #8A693C #5D8A3C
monochromatic
#191735 #2E295F #423C8A #5850B3 #817BC6

Accessibility & contrast

On white

9.35
#423C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#423C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423C8A
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423C8A#FFFFFF#000000##FFFFFF
##423C8A1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C498D
Deuteranopia (green-blind)
#034488
Tritanopia (blue-blind)
#264E5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #423c8a;
/* rgb */ color: rgb(66, 60, 138);
/* oklch */ color: oklch(40.6% 0.126 282.7);
Tailwind
colors: {
  custom: {
    50: '#7c72ad',
    500: '#423c8a',
    950: '#000000',
  },
}
SCSS
$custom: #423c8a;
$custom-light: #7c72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#423c8a",
  "rgb": {
    "r": 66,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 244.615,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40644,
    "c": 0.12558,
    "h": 282.7
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#423C8A
secondary
#ABAF73
accent
#CF59C6
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #423C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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