#423E98#423E98

#423E98 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.143 H 280.3°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#423E98
RGBrgb(66, 62, 152)
HSLhsl(243, 42%, 42%)
HSVhsv(243, 59%, 60%)
CMYKcmyk(56.6%, 59.2%, 0%, 40.4%)
CIE-LABlab(31.51, 28.36, -48.97)
CIE-LCHlch(31.51, 56.59, 300.07°)
OKLaboklab(42.11% 0.0256 -0.1404)
OKLCHoklch(42.11% 0.143 280.3)
XYZxyz(9.6351, 6.8699, 30.5180)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423E98 #94983E
analogous
#3E6798 #423E98 #6F3E98
triadic
#423E98 #98423E #3E9842
tetradic
#423E98 #983E67 #94983E #3E986F
square
#423E98 #983E67 #94983E #3E986F
split-complementary
#423E98 #986F3E #67983E
monochromatic
#1C1B41 #2F2C6D #423E98 #5D58BB #8784CD

Accessibility & contrast

On white

8.85
#423E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#423E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423E98
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423E98#FFFFFF#000000##FFFFFF
##423E981.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#175365
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #423e98;
/* rgb */ color: rgb(66, 62, 152);
/* oklch */ color: oklch(42.1% 0.143 280.3);
Tailwind
colors: {
  custom: {
    50: '#7e73b7',
    500: '#423e98',
    950: '#000000',
  },
}
SCSS
$custom: #423e98;
$custom-light: #7e73b7;
$custom-dark: #000000;
JSON
{
  "hex": "#423e98",
  "rgb": {
    "r": 66,
    "g": 62,
    "b": 152
  },
  "hsl": {
    "h": 242.667,
    "s": 42.056,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4211,
    "c": 0.14274,
    "h": 280.3
  },
  "luminance": 0.0687
}

Semantic roles & 50–950 ramp

primary
#423E98
secondary
#B4B77B
accent
#D256CC
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #423E98

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

Preview Lab → · Contrast checker → · Palette generator →

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