#42368D#42368D

#42368D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.8% C 0.138 H 284.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#42368D
RGBrgb(66, 54, 141)
HSLhsl(248, 45%, 38%)
HSVhsv(248, 62%, 55%)
CMYKcmyk(53.2%, 61.7%, 0%, 44.7%)
CIE-LABlab(28.69, 29.83, -46.80)
CIE-LCHlch(28.69, 55.49, 302.51°)
OKLaboklab(39.77% 0.0346 -0.1341)
OKLCHoklch(39.77% 0.138 284.5)
XYZxyz(8.3722, 5.7192, 25.8569)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42368D #818D36
analogous
#36558D #42368D #6D368D
triadic
#42368D #8D4236 #368D42
tetradic
#42368D #8D3655 #818D36 #368D6D
square
#42368D #8D3655 #818D36 #368D6D
split-complementary
#42368D #8D6D36 #558D36
monochromatic
#191434 #2D2561 #42368D #5747B9 #8074CA

Accessibility & contrast

On white

9.79
#42368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#42368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42368D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42368D#FFFFFF#000000##FFFFFF
##42368D1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42368d;
/* rgb */ color: rgb(66, 54, 141);
/* oklch */ color: oklch(39.8% 0.138 284.5);
Tailwind
colors: {
  custom: {
    50: '#7d6daf',
    500: '#42368d',
    950: '#000000',
  },
}
SCSS
$custom: #42368d;
$custom-light: #7d6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#42368d",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 248.276,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3977,
    "c": 0.13844,
    "h": 284.5
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#42368D
secondary
#A9B26D
accent
#D453C3
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #42368D

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

Preview Lab → · Contrast checker → · Palette generator →

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