#42349B#42349B

#42349B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.160 H 282.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#42349B
RGBrgb(66, 52, 155)
HSLhsl(248, 50%, 41%)
HSVhsv(248, 66%, 61%)
CMYKcmyk(57.4%, 66.5%, 0%, 39.2%)
CIE-LABlab(29.36, 35.61, -54.29)
CIE-LCHlch(29.36, 64.93, 303.26°)
OKLaboklab(40.61% 0.0355 -0.1561)
OKLCHoklch(40.61% 0.16 282.8)
XYZxyz(9.3893, 5.9802, 31.6635)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42349B #8D9B34
analogous
#345A9B #42349B #75349B
triadic
#42349B #9B4234 #349B42
tetradic
#42349B #9B345A #8D9B34 #349B75
square
#42349B #9B345A #8D9B34 #349B75
split-complementary
#42349B #9B7534 #5A9B34
monochromatic
#1B153F #2E256D #42349B #5A4AC2 #8478D2

Accessibility & contrast

On white

9.56
#42349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#42349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42349B
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42349B#FFFFFF#000000##FFFFFF
##42349B1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42349b;
/* rgb */ color: rgb(66, 52, 155);
/* oklch */ color: oklch(40.6% 0.160 282.8);
Tailwind
colors: {
  custom: {
    50: '#806cb9',
    500: '#42349b',
    950: '#000000',
  },
}
SCSS
$custom: #42349b;
$custom-light: #806cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#42349b",
  "rgb": {
    "r": 66,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 248.155,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40614,
    "c": 0.16007,
    "h": 282.8
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#42349B
secondary
#B0BA71
accent
#D94FC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #42349B

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

Preview Lab → · Contrast checker → · Palette generator →

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