#423786#423786

#423786 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.127 H 285.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#423786
RGBrgb(66, 55, 134)
HSLhsl(248, 42%, 37%)
HSVhsv(248, 59%, 53%)
CMYKcmyk(50.7%, 59%, 0%, 47.5%)
CIE-LABlab(28.41, 26.92, -42.91)
CIE-LCHlch(28.41, 50.66, 302.10°)
OKLaboklab(39.39% 0.0336 -0.1226)
OKLCHoklch(39.39% 0.127 285.3)
XYZxyz(7.9148, 5.6115, 23.2157)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423786 #7B8637
analogous
#375486 #423786 #693786
triadic
#423786 #864237 #378642
tetradic
#423786 #863754 #7B8637 #378669
square
#423786 #863754 #7B8637 #378669
split-complementary
#423786 #866937 #548637
monochromatic
#17132F #2D255B #423786 #5749B1 #7E72C5

Accessibility & contrast

On white

9.89
#423786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#423786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423786
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423786#FFFFFF#000000##FFFFFF
##4237861.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#004184
Tritanopia (blue-blind)
#2A4959
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #423786;
/* rgb */ color: rgb(66, 55, 134);
/* oklch */ color: oklch(39.4% 0.127 285.3);
Tailwind
colors: {
  custom: {
    50: '#7c6eaa',
    500: '#423786',
    950: '#000000',
  },
}
SCSS
$custom: #423786;
$custom-light: #7c6eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#423786",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 248.354,
    "s": 41.799,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39394,
    "c": 0.12715,
    "h": 285.3
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#423786
secondary
#A5AE6B
accent
#D256C0
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #423786

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

Preview Lab → · Contrast checker → · Palette generator →

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