#42349F#42349F

#42349F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.165 H 282.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#42349F
RGBrgb(66, 52, 159)
HSLhsl(248, 51%, 41%)
HSVhsv(248, 67%, 62%)
CMYKcmyk(58.5%, 67.3%, 0%, 37.6%)
CIE-LABlab(29.71, 36.90, -56.16)
CIE-LCHlch(29.71, 67.20, 303.30°)
OKLaboklab(40.97% 0.035 -0.1616)
OKLCHoklch(40.97% 0.165 282.2)
XYZxyz(9.7308, 6.1168, 33.4621)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42349F #919F34
analogous
#345C9F #42349F #78349F
triadic
#42349F #9F4234 #349F42
tetradic
#42349F #9F345C #919F34 #349F78
square
#42349F #9F345C #919F34 #349F78
split-complementary
#42349F #9F7834 #5C9F34
monochromatic
#1C1643 #2F2571 #42349F #5C4CC4 #867AD3

Accessibility & contrast

On white

9.44
#42349F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#42349F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42349F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42349F#FFFFFF#000000##FFFFFF
##42349F1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#0C4F65
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #42349f;
/* rgb */ color: rgb(66, 52, 159);
/* oklch */ color: oklch(41.0% 0.165 282.2);
Tailwind
colors: {
  custom: {
    50: '#806cbc',
    500: '#42349f',
    950: '#000000',
  },
}
SCSS
$custom: #42349f;
$custom-light: #806cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#42349f",
  "rgb": {
    "r": 66,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 247.85,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40969,
    "c": 0.16534,
    "h": 282.2
  },
  "luminance": 0.06117
}

Semantic roles & 50–950 ramp

primary
#42349F
secondary
#B3BC73
accent
#DA4EC8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #42349F

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

Preview Lab → · Contrast checker → · Palette generator →

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