#423299#423299

#423299 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.160 H 283.6°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#423299
RGBrgb(66, 50, 153)
HSLhsl(249, 51%, 40%)
HSVhsv(249, 67%, 60%)
CMYKcmyk(56.9%, 67.3%, 0%, 40%)
CIE-LABlab(28.74, 36.17, -54.08)
CIE-LCHlch(28.74, 65.07, 303.78°)
OKLaboklab(40.11% 0.0376 -0.1555)
OKLCHoklch(40.11% 0.16 283.6)
XYZxyz(9.1354, 5.7388, 30.7571)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423299 #899932
analogous
#325699 #423299 #753299
triadic
#423299 #994232 #329942
tetradic
#423299 #993256 #899932 #329975
square
#423299 #993256 #899932 #329975
split-complementary
#423299 #997532 #569932
monochromatic
#1A143D #2E236B #423299 #5946C2 #8274D2

Accessibility & contrast

On white

9.78
#423299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#423299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423299
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423299#FFFFFF#000000##FFFFFF
##4232991.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#184C61
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #423299;
/* rgb */ color: rgb(66, 50, 153);
/* oklch */ color: oklch(40.1% 0.160 283.6);
Tailwind
colors: {
  custom: {
    50: '#806bb8',
    500: '#423299',
    950: '#000000',
  },
}
SCSS
$custom: #423299;
$custom-light: #806bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#423299",
  "rgb": {
    "r": 66,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 249.32,
    "s": 50.739,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40114,
    "c": 0.15997,
    "h": 283.6
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#423299
secondary
#AEBA6D
accent
#DA4EC4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #423299

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

Preview Lab → · Contrast checker → · Palette generator →

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