#42348C#42348C

#42348C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.140 H 285.3°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#42348C
RGBrgb(66, 52, 140)
HSLhsl(250, 46%, 38%)
HSVhsv(250, 63%, 55%)
CMYKcmyk(52.9%, 62.9%, 0%, 45.1%)
CIE-LABlab(28.13, 30.76, -47.08)
CIE-LCHlch(28.13, 56.24, 303.16°)
OKLaboklab(39.34% 0.0368 -0.1349)
OKLCHoklch(39.34% 0.14 285.3)
XYZxyz(8.2070, 5.5073, 25.4364)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42348C #7E8C34
analogous
#34528C #42348C #6E348C
triadic
#42348C #8C4234 #348C42
tetradic
#42348C #8C3452 #7E8C34 #348C6E
square
#42348C #8C3452 #7E8C34 #348C6E
split-complementary
#42348C #8C6E34 #528C34
monochromatic
#181333 #2D235F #42348C #5745B9 #7F70CA

Accessibility & contrast

On white

9.99
#42348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#42348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42348C
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42348C#FFFFFF#000000##FFFFFF
##42348C1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#25495B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #42348c;
/* rgb */ color: rgb(66, 52, 140);
/* oklch */ color: oklch(39.3% 0.140 285.3);
Tailwind
colors: {
  custom: {
    50: '#7d6cae',
    500: '#42348c',
    950: '#000000',
  },
}
SCSS
$custom: #42348c;
$custom-light: #7d6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#42348c",
  "rgb": {
    "r": 66,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 249.545,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39336,
    "c": 0.13985,
    "h": 285.3
  },
  "luminance": 0.05508
}

Semantic roles & 50–950 ramp

primary
#42348C
secondary
#A7B26A
accent
#D552C1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #42348C

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

Preview Lab → · Contrast checker → · Palette generator →

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