#42349C#42349C

#42349C is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.161 H 282.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#42349C
RGBrgb(66, 52, 156)
HSLhsl(248, 50%, 41%)
HSVhsv(248, 67%, 61%)
CMYKcmyk(57.7%, 66.7%, 0%, 38.8%)
CIE-LABlab(29.45, 35.93, -54.76)
CIE-LCHlch(29.45, 65.50, 303.27°)
OKLaboklab(40.7% 0.0353 -0.1575)
OKLCHoklch(40.7% 0.161 282.6)
XYZxyz(9.4737, 6.0139, 32.1076)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42349C #8E9C34
analogous
#345A9C #42349C #76349C
triadic
#42349C #9C4234 #349C42
tetradic
#42349C #9C345A #8E9C34 #349C76
square
#42349C #9C345A #8E9C34 #349C76
split-complementary
#42349C #9C7634 #5A9C34
monochromatic
#1B1540 #2F256E #42349C #5B4AC3 #8478D2

Accessibility & contrast

On white

9.53
#42349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42349C
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42349C#FFFFFF#000000##FFFFFF
##42349C1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#134E63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #42349c;
/* rgb */ color: rgb(66, 52, 156);
/* oklch */ color: oklch(40.7% 0.161 282.6);
Tailwind
colors: {
  custom: {
    50: '#806cba',
    500: '#42349c',
    950: '#000000',
  },
}
SCSS
$custom: #42349c;
$custom-light: #806cba;
$custom-dark: #000000;
JSON
{
  "hex": "#42349c",
  "rgb": {
    "r": 66,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 248.077,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40702,
    "c": 0.16139,
    "h": 282.6
  },
  "luminance": 0.06015
}

Semantic roles & 50–950 ramp

primary
#42349C
secondary
#B1BB71
accent
#DA4EC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #42349C

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

Preview Lab → · Contrast checker → · Palette generator →

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