#423297#423297

#423297 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.157 H 283.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#423297
RGBrgb(66, 50, 151)
HSLhsl(250, 50%, 39%)
HSVhsv(250, 67%, 59%)
CMYKcmyk(56.3%, 66.9%, 0%, 40.8%)
CIE-LABlab(28.57, 35.53, -53.14)
CIE-LCHlch(28.57, 63.92, 303.77°)
OKLaboklab(39.94% 0.0378 -0.1527)
OKLCHoklch(39.94% 0.157 283.9)
XYZxyz(8.9716, 5.6733, 29.8945)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423297 #879732
analogous
#325597 #423297 #753297
triadic
#423297 #974232 #329742
tetradic
#423297 #973255 #879732 #329775
square
#423297 #973255 #879732 #329775
split-complementary
#423297 #977532 #559732
monochromatic
#1A143B #2E2369 #423297 #5945C1 #8273D1

Accessibility & contrast

On white

9.84
#423297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#423297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423297
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423297#FFFFFF#000000##FFFFFF
##4232971.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#1A4B60
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #423297;
/* rgb */ color: rgb(66, 50, 151);
/* oklch */ color: oklch(39.9% 0.157 283.9);
Tailwind
colors: {
  custom: {
    50: '#7f6bb6',
    500: '#423297',
    950: '#000000',
  },
}
SCSS
$custom: #423297;
$custom-light: #7f6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#423297",
  "rgb": {
    "r": 66,
    "g": 50,
    "b": 151
  },
  "hsl": {
    "h": 249.505,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39937,
    "c": 0.15734,
    "h": 283.9
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #423297

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

Preview Lab → · Contrast checker → · Palette generator →

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