#42358F#42358F

#42358F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.143 H 284.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#42358F
RGBrgb(66, 53, 143)
HSLhsl(249, 46%, 38%)
HSVhsv(249, 63%, 56%)
CMYKcmyk(53.8%, 62.9%, 0%, 43.9%)
CIE-LABlab(28.61, 31.11, -48.17)
CIE-LCHlch(28.61, 57.34, 302.86°)
OKLaboklab(39.76% 0.0355 -0.1381)
OKLCHoklch(39.76% 0.143 284.4)
XYZxyz(8.4763, 5.6872, 26.6324)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42358F #828F35
analogous
#35558F #42358F #6F358F
triadic
#42358F #8F4235 #358F42
tetradic
#42358F #8F3555 #828F35 #358F6F
square
#42358F #8F3555 #828F35 #358F6F
split-complementary
#42358F #8F6F35 #558F35
monochromatic
#191436 #2D2462 #42358F #5747BB #8073CB

Accessibility & contrast

On white

9.82
#42358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#42358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42358F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42358F#FFFFFF#000000##FFFFFF
##42358F1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#234A5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #42358f;
/* rgb */ color: rgb(66, 53, 143);
/* oklch */ color: oklch(39.8% 0.143 284.4);
Tailwind
colors: {
  custom: {
    50: '#7e6db0',
    500: '#42358f',
    950: '#000000',
  },
}
SCSS
$custom: #42358f;
$custom-light: #7e6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#42358f",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 248.667,
    "s": 45.918,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39758,
    "c": 0.14259,
    "h": 284.4
  },
  "luminance": 0.05688
}

Semantic roles & 50–950 ramp

primary
#42358F
secondary
#A9B46C
accent
#D652C3
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #42358F

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

Preview Lab → · Contrast checker → · Palette generator →

#42358F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva