#42379D#42379D

#42379D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.159 H 281.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#42379D
RGBrgb(66, 55, 157)
HSLhsl(246, 48%, 42%)
HSVhsv(246, 65%, 62%)
CMYKcmyk(58%, 65%, 0%, 38.4%)
CIE-LABlab(30.22, 34.42, -54.12)
CIE-LCHlch(30.22, 64.14, 302.46°)
OKLaboklab(41.29% 0.0324 -0.1556)
OKLCHoklch(41.29% 0.159 281.8)
XYZxyz(9.6969, 6.3243, 32.6015)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42379D #929D37
analogous
#375F9D #42379D #75379D
triadic
#42379D #9D4237 #379D42
tetradic
#42379D #9D375F #929D37 #379D75
square
#42379D #9D375F #929D37 #379D75
split-complementary
#42379D #9D7537 #5F9D37
monochromatic
#1C1742 #2F2770 #42379D #5C50C2 #867DD1

Accessibility & contrast

On white

9.27
#42379D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#42379D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42379D
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42379D#FFFFFF#000000##FFFFFF
##42379D1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#105065
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #42379d;
/* rgb */ color: rgb(66, 55, 157);
/* oklch */ color: oklch(41.3% 0.159 281.8);
Tailwind
colors: {
  custom: {
    50: '#806ebb',
    500: '#42379d',
    950: '#000000',
  },
}
SCSS
$custom: #42379d;
$custom-light: #806ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#42379d",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 157
  },
  "hsl": {
    "h": 246.471,
    "s": 48.113,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41286,
    "c": 0.15891,
    "h": 281.8
  },
  "luminance": 0.06325
}

Semantic roles & 50–950 ramp

primary
#42379D
secondary
#B3BB75
accent
#D850C9
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #42379D

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

Preview Lab → · Contrast checker → · Palette generator →

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