#42359A#42359A

#42359A is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.157 H 282.7°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#42359A
RGBrgb(66, 53, 154)
HSLhsl(248, 49%, 41%)
HSVhsv(248, 66%, 60%)
CMYKcmyk(57.1%, 65.6%, 0%, 39.6%)
CIE-LABlab(29.51, 34.68, -53.45)
CIE-LCHlch(29.51, 63.71, 302.97°)
OKLaboklab(40.69% 0.0346 -0.1536)
OKLCHoklch(40.69% 0.157 282.7)
XYZxyz(9.3508, 6.0370, 31.2381)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42359A #8D9A35
analogous
#355A9A #42359A #74359A
triadic
#42359A #9A4235 #359A42
tetradic
#42359A #9A355A #8D9A35 #359A74
square
#42359A #9A355A #8D9A35 #359A74
split-complementary
#42359A #9A7435 #5A9A35
monochromatic
#1B163F #2E256C #42359A #5A4BC1 #8479D1

Accessibility & contrast

On white

9.51
#42359A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#42359A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42359A
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42359A#FFFFFF#000000##FFFFFF
##42359A1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#164E62
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #42359a;
/* rgb */ color: rgb(66, 53, 154);
/* oklch */ color: oklch(40.7% 0.157 282.7);
Tailwind
colors: {
  custom: {
    50: '#7f6db9',
    500: '#42359a',
    950: '#000000',
  },
}
SCSS
$custom: #42359a;
$custom-light: #7f6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#42359a",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 154
  },
  "hsl": {
    "h": 247.723,
    "s": 48.792,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40692,
    "c": 0.15748,
    "h": 282.7
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#42359A
secondary
#B0B971
accent
#D84FC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #42359A

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

Preview Lab → · Contrast checker → · Palette generator →

#42359A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva