#42359B#42359B

#42359B is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.159 H 282.5°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#42359B
RGBrgb(66, 53, 155)
HSLhsl(248, 49%, 41%)
HSVhsv(248, 66%, 61%)
CMYKcmyk(57.4%, 65.8%, 0%, 39.2%)
CIE-LABlab(29.59, 35.00, -53.92)
CIE-LCHlch(29.59, 64.29, 302.99°)
OKLaboklab(40.78% 0.0345 -0.155)
OKLCHoklch(40.78% 0.159 282.5)
XYZxyz(9.4344, 6.0704, 31.6786)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42359B #8E9B35
analogous
#355B9B #42359B #75359B
triadic
#42359B #9B4235 #359B42
tetradic
#42359B #9B355B #8E9B35 #359B75
square
#42359B #9B355B #8E9B35 #359B75
split-complementary
#42359B #9B7535 #5B9B35
monochromatic
#1B1640 #2F256D #42359B #5B4CC2 #8479D1

Accessibility & contrast

On white

9.48
#42359B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42359B
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42359B#FFFFFF#000000##FFFFFF
##42359B1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#144F63
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #42359b;
/* rgb */ color: rgb(66, 53, 155);
/* oklch */ color: oklch(40.8% 0.159 282.5);
Tailwind
colors: {
  custom: {
    50: '#806db9',
    500: '#42359b',
    950: '#000000',
  },
}
SCSS
$custom: #42359b;
$custom-light: #806db9;
$custom-dark: #000000;
JSON
{
  "hex": "#42359b",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 155
  },
  "hsl": {
    "h": 247.647,
    "s": 49.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40779,
    "c": 0.1588,
    "h": 282.5
  },
  "luminance": 0.06071
}

Semantic roles & 50–950 ramp

primary
#42359B
secondary
#B1BA72
accent
#D94FC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #42359B

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

Preview Lab → · Contrast checker → · Palette generator →

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