#423F97#423F97

#423F97 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.140 H 280.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#423F97
RGBrgb(66, 63, 151)
HSLhsl(242, 41%, 42%)
HSVhsv(242, 58%, 59%)
CMYKcmyk(56.3%, 58.3%, 0%, 40.8%)
CIE-LABlab(31.69, 27.38, -48.08)
CIE-LCHlch(31.69, 55.33, 299.66°)
OKLaboklab(42.22% 0.0245 -0.1378)
OKLCHoklch(42.22% 0.14 280.1)
XYZxyz(9.6084, 6.9470, 30.1068)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423F97 #94973F
analogous
#3F6897 #423F97 #6E3F97
triadic
#423F97 #97423F #3F9742
tetradic
#423F97 #973F68 #94973F #3F976E
square
#423F97 #973F68 #94973F #3F976E
split-complementary
#423F97 #976E3F #68973F
monochromatic
#1C1B41 #2F2D6C #423F97 #5D59BA #8785CC

Accessibility & contrast

On white

8.79
#423F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#423F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423F97
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423F97#FFFFFF#000000##FFFFFF
##423F971.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#185464
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #423f97;
/* rgb */ color: rgb(66, 63, 151);
/* oklch */ color: oklch(42.2% 0.140 280.1);
Tailwind
colors: {
  custom: {
    50: '#7e74b6',
    500: '#423f97',
    950: '#000000',
  },
}
SCSS
$custom: #423f97;
$custom-light: #7e74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#423f97",
  "rgb": {
    "r": 66,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 242.045,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42218,
    "c": 0.13995,
    "h": 280.1
  },
  "luminance": 0.06948
}

Semantic roles & 50–950 ramp

primary
#423F97
secondary
#B4B67C
accent
#D157CD
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #423F97

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

Preview Lab → · Contrast checker → · Palette generator →

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