#423978#423978

#423978 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.7% C 0.104 H 287.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#423978
RGBrgb(66, 57, 120)
HSLhsl(249, 36%, 35%)
HSVhsv(249, 53%, 47%)
CMYKcmyk(45%, 52.5%, 0%, 52.9%)
CIE-LABlab(27.95, 21.11, -34.87)
CIE-LCHlch(27.95, 40.77, 301.19°)
OKLaboklab(38.74% 0.0304 -0.099)
OKLCHoklch(38.74% 0.104 287.1)
XYZxyz(7.0991, 5.4403, 18.4417)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423978 #6F7839
analogous
#395078 #423978 #613978
triadic
#423978 #784239 #397842
tetradic
#423978 #783950 #6F7839 #397861
square
#423978 #783950 #6F7839 #397861
split-complementary
#423978 #786139 #507839
monochromatic
#141225 #2B254F #423978 #594DA1 #7B70BB

Accessibility & contrast

On white

10.06
#423978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#423978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423978
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423978#FFFFFF#000000##FFFFFF
##4239781.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447A
Deuteranopia (green-blind)
#1D4077
Tritanopia (blue-blind)
#324653
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #423978;
/* rgb */ color: rgb(66, 57, 120);
/* oklch */ color: oklch(38.7% 0.104 287.1);
Tailwind
colors: {
  custom: {
    50: '#7a6f9f',
    500: '#423978',
    950: '#000000',
  },
}
SCSS
$custom: #423978;
$custom-light: #7a6f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#423978",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 120
  },
  "hsl": {
    "h": 248.571,
    "s": 35.593,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38743,
    "c": 0.10357,
    "h": 287.1
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#423978
secondary
#9CA468
accent
#CC5CBC
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#09070E
muted
#7B7A7E

Preview Lab

Preview with #423978

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

Preview Lab → · Contrast checker → · Palette generator →

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