#42358D#42358D

#42358D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.140 H 284.8°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#42358D
RGBrgb(66, 53, 141)
HSLhsl(249, 45%, 38%)
HSVhsv(249, 62%, 55%)
CMYKcmyk(53.2%, 62.4%, 0%, 44.7%)
CIE-LABlab(28.45, 30.46, -47.19)
CIE-LCHlch(28.45, 56.16, 302.84°)
OKLaboklab(39.59% 0.0357 -0.1352)
OKLCHoklch(39.59% 0.14 284.8)
XYZxyz(8.3261, 5.6271, 25.8416)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42358D #808D35
analogous
#35548D #42358D #6E358D
triadic
#42358D #8D4235 #358D42
tetradic
#42358D #8D3554 #808D35 #358D6E
square
#42358D #8D3554 #808D35 #358D6E
split-complementary
#42358D #8D6E35 #548D35
monochromatic
#181434 #2D2461 #42358D #5746B9 #7F72CA

Accessibility & contrast

On white

9.88
#42358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#42358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42358D
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42358D#FFFFFF#000000##FFFFFF
##42358D1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42358d;
/* rgb */ color: rgb(66, 53, 141);
/* oklch */ color: oklch(39.6% 0.140 284.8);
Tailwind
colors: {
  custom: {
    50: '#7d6daf',
    500: '#42358d',
    950: '#000000',
  },
}
SCSS
$custom: #42358d;
$custom-light: #7d6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#42358d",
  "rgb": {
    "r": 66,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 248.864,
    "s": 45.361,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39593,
    "c": 0.13984,
    "h": 284.8
  },
  "luminance": 0.05628
}

Semantic roles & 50–950 ramp

primary
#42358D
secondary
#A8B26B
accent
#D553C2
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #42358D

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

Preview Lab → · Contrast checker → · Palette generator →

#42358D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva