#423396#423396

#423396 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.155 H 283.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#423396
RGBrgb(66, 51, 150)
HSLhsl(249, 49%, 39%)
HSVhsv(249, 66%, 59%)
CMYKcmyk(56%, 66%, 0%, 41.2%)
CIE-LABlab(28.71, 34.60, -52.30)
CIE-LCHlch(28.71, 62.71, 303.49°)
OKLaboklab(40.01% 0.037 -0.1502)
OKLCHoklch(40.01% 0.155 283.8)
XYZxyz(8.9339, 5.7274, 29.4830)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423396 #879633
analogous
#335696 #423396 #743396
triadic
#423396 #964233 #339642
tetradic
#423396 #963356 #879633 #339674
square
#423396 #963356 #879633 #339674
split-complementary
#423396 #967433 #569633
monochromatic
#1A143B #2E2368 #423396 #5946C0 #8274D0

Accessibility & contrast

On white

9.79
#423396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #423396
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423396#FFFFFF#000000##FFFFFF
##4233961.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#1C4C60
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #423396;
/* rgb */ color: rgb(66, 51, 150);
/* oklch */ color: oklch(40.0% 0.155 283.8);
Tailwind
colors: {
  custom: {
    50: '#7f6cb6',
    500: '#423396',
    950: '#000000',
  },
}
SCSS
$custom: #423396;
$custom-light: #7f6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#423396",
  "rgb": {
    "r": 66,
    "g": 51,
    "b": 150
  },
  "hsl": {
    "h": 249.091,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40013,
    "c": 0.15473,
    "h": 283.8
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#423396
secondary
#ACB86D
accent
#D94FC4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #423396

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

Preview Lab → · Contrast checker → · Palette generator →

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