#42348E#42348E

#42348E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.143 H 284.9°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#42348E
RGBrgb(66, 52, 142)
HSLhsl(249, 46%, 38%)
HSVhsv(249, 63%, 56%)
CMYKcmyk(53.5%, 63.4%, 0%, 44.3%)
CIE-LABlab(28.29, 31.41, -48.06)
CIE-LCHlch(28.29, 57.42, 303.16°)
OKLaboklab(39.5% 0.0367 -0.1378)
OKLCHoklch(39.5% 0.143 284.9)
XYZxyz(8.3558, 5.5668, 26.2202)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42348E #808E34
analogous
#34538E #42348E #6F348E
triadic
#42348E #8E4234 #348E42
tetradic
#42348E #8E3453 #808E34 #348E6F
square
#42348E #8E3453 #808E34 #348E6F
split-complementary
#42348E #8E6F34 #538E34
monochromatic
#181334 #2D2461 #42348E #5744BB #7F71CB

Accessibility & contrast

On white

9.94
#42348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#42348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42348E
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42348E#FFFFFF#000000##FFFFFF
##42348E1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#244A5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #42348e;
/* rgb */ color: rgb(66, 52, 142);
/* oklch */ color: oklch(39.5% 0.143 284.9);
Tailwind
colors: {
  custom: {
    50: '#7d6cb0',
    500: '#42348e',
    950: '#000000',
  },
}
SCSS
$custom: #42348e;
$custom-light: #7d6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#42348e",
  "rgb": {
    "r": 66,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 249.333,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39501,
    "c": 0.1426,
    "h": 284.9
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#42348E
secondary
#A8B36A
accent
#D652C1
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #42348E

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

Preview Lab → · Contrast checker → · Palette generator →

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