#42439D#42439D

#42439D is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.4% C 0.143 H 278.2°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#42439D
RGBrgb(66, 67, 157)
HSLhsl(239, 41%, 44%)
HSVhsv(239, 58%, 62%)
CMYKcmyk(58%, 57.3%, 0%, 38.4%)
CIE-LABlab(33.15, 26.82, -49.35)
CIE-LCHlch(33.15, 56.17, 298.52°)
OKLaboklab(43.44% 0.0203 -0.1415)
OKLCHoklch(43.44% 0.143 278.2)
XYZxyz(10.3378, 7.6062, 32.8151)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42439D #9D9C42
analogous
#42709D #42439D #6E429D
triadic
#42439D #9D4243 #439D42
tetradic
#42439D #9D4270 #9D9C42 #429D6E
square
#42439D #9D4270 #9D9C42 #429D6E
split-complementary
#42439D #9D6E42 #709D42
monochromatic
#1E1E47 #303172 #42439D #6061BC #8B8CCE

Accessibility & contrast

On white

8.33
#42439D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#42439D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42439D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42439D#FFFFFF#000000##FFFFFF
##42439D1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#0C5869
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #42439d;
/* rgb */ color: rgb(66, 67, 157);
/* oklch */ color: oklch(43.4% 0.143 278.2);
Tailwind
colors: {
  custom: {
    50: '#7f77bb',
    500: '#42439d',
    950: '#000000',
  },
}
SCSS
$custom: #42439d;
$custom-light: #7f77bb;
$custom-dark: #000000;
JSON
{
  "hex": "#42439d",
  "rgb": {
    "r": 66,
    "g": 67,
    "b": 157
  },
  "hsl": {
    "h": 239.341,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43444,
    "c": 0.14295,
    "h": 278.2
  },
  "luminance": 0.07607
}

Semantic roles & 50–950 ramp

primary
#42439D
secondary
#B9B982
accent
#CF57D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #42439D

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

Preview Lab → · Contrast checker → · Palette generator →

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