#423796#423796

#423796 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.149 H 282.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#423796
RGBrgb(66, 55, 150)
HSLhsl(247, 46%, 40%)
HSVhsv(247, 63%, 59%)
CMYKcmyk(56%, 63.3%, 0%, 41.2%)
CIE-LABlab(29.64, 32.13, -50.78)
CIE-LCHlch(29.64, 60.10, 302.32°)
OKLaboklab(40.69% 0.033 -0.1458)
OKLCHoklch(40.69% 0.149 282.7)
XYZxyz(9.1163, 6.0921, 29.5438)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423796 #8B9637
analogous
#375C96 #423796 #713796
triadic
#423796 #964237 #379642
tetradic
#423796 #96375C #8B9637 #379671
square
#423796 #96375C #8B9637 #379671
split-complementary
#423796 #967137 #5C9637
monochromatic
#1B163C #2E2769 #423796 #5A4DBE #8379CE

Accessibility & contrast

On white

9.47
#423796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#423796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423796
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423796#FFFFFF#000000##FFFFFF
##4237961.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004999
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#1B4E61
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #423796;
/* rgb */ color: rgb(66, 55, 150);
/* oklch */ color: oklch(40.7% 0.149 282.7);
Tailwind
colors: {
  custom: {
    50: '#7f6eb6',
    500: '#423796',
    950: '#000000',
  },
}
SCSS
$custom: #423796;
$custom-light: #7f6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#423796",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 246.947,
    "s": 46.341,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4069,
    "c": 0.14946,
    "h": 282.7
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#423796
secondary
#AFB772
accent
#D652C7
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #423796

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

Preview Lab → · Contrast checker → · Palette generator →

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