#42379E#42379E

#42379E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.160 H 281.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#42379E
RGBrgb(66, 55, 158)
HSLhsl(246, 48%, 42%)
HSVhsv(246, 65%, 62%)
CMYKcmyk(58.2%, 65.2%, 0%, 38%)
CIE-LABlab(30.30, 34.75, -54.59)
CIE-LCHlch(30.30, 64.71, 302.48°)
OKLaboklab(41.37% 0.0323 -0.157)
OKLCHoklch(41.37% 0.16 281.6)
XYZxyz(9.7826, 6.3586, 33.0530)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42379E #939E37
analogous
#37609E #42379E #76379E
triadic
#42379E #9E4237 #379E42
tetradic
#42379E #9E3760 #939E37 #379E76
square
#42379E #9E3760 #939E37 #379E76
split-complementary
#42379E #9E7637 #609E37
monochromatic
#1C1743 #2F2771 #42379E #5C50C2 #877DD2

Accessibility & contrast

On white

9.24
#42379E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42379E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42379E#FFFFFF#000000##FFFFFF
##42379E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#0E5165
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #42379e;
/* rgb */ color: rgb(66, 55, 158);
/* oklch */ color: oklch(41.4% 0.160 281.6);
Tailwind
colors: {
  custom: {
    50: '#806ebb',
    500: '#42379e',
    950: '#000000',
  },
}
SCSS
$custom: #42379e;
$custom-light: #806ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#42379e",
  "rgb": {
    "r": 66,
    "g": 55,
    "b": 158
  },
  "hsl": {
    "h": 246.408,
    "s": 48.357,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41373,
    "c": 0.16025,
    "h": 281.6
  },
  "luminance": 0.06359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42379E

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

Preview Lab → · Contrast checker → · Palette generator →

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