#42379C#42379C

#42379C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.2% C 0.158 H 281.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#42379C
RGBrgb(66, 55, 156)
HSLhsl(247, 48%, 41%)
HSVhsv(247, 65%, 61%)
CMYKcmyk(57.7%, 64.7%, 0%, 38.8%)
CIE-LABlab(30.13, 34.10, -53.64)
CIE-LCHlch(30.13, 63.56, 302.44°)
OKLaboklab(41.2% 0.0325 -0.1542)
OKLCHoklch(41.2% 0.158 281.9)
XYZxyz(9.6118, 6.2903, 32.1537)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42379C #919C37
analogous
#375F9C #42379C #75379C
triadic
#42379C #9C4237 #379C42
tetradic
#42379C #9C375F #919C37 #379C75
square
#42379C #9C375F #919C37 #379C75
split-complementary
#42379C #9C7537 #5F9C37
monochromatic
#1C1742 #2F276F #42379C #5C4FC1 #867CD1

Accessibility & contrast

On white

9.30
#42379C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#42379C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42379C
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42379C#FFFFFF#000000##FFFFFF
##42379C1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#125064
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #42379c;
/* rgb */ color: rgb(66, 55, 156);
/* oklch */ color: oklch(41.2% 0.158 281.9);
Tailwind
colors: {
  custom: {
    50: '#806eba',
    500: '#42379c',
    950: '#000000',
  },
}
SCSS
$custom: #42379c;
$custom-light: #806eba;
$custom-dark: #000000;
JSON
{
  "hex": "#42379c",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 156
  },
  "hsl": {
    "h": 246.535,
    "s": 47.867,
    "l": 41.373
  },
  "oklch": {
    "l": 0.412,
    "c": 0.15757,
    "h": 281.9
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#42379C
secondary
#B3BA75
accent
#D750C9
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #42379C

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

Preview Lab → · Contrast checker → · Palette generator →

#42379C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva