#42368F#42368F

#42368F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.141 H 284.1°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#42368F
RGBrgb(66, 54, 143)
HSLhsl(248, 45%, 39%)
HSVhsv(248, 62%, 56%)
CMYKcmyk(53.8%, 62.2%, 0%, 43.9%)
CIE-LABlab(28.85, 30.48, -47.78)
CIE-LCHlch(28.85, 56.67, 302.54°)
OKLaboklab(39.93% 0.0345 -0.1369)
OKLCHoklch(39.93% 0.141 284.1)
XYZxyz(8.5224, 5.7793, 26.6477)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42368F #838F36
analogous
#36568F #42368F #6E368F
triadic
#42368F #8F4236 #368F42
tetradic
#42368F #8F3656 #838F36 #368F6E
square
#42368F #8F3656 #838F36 #368F6E
split-complementary
#42368F #8F6E36 #568F36
monochromatic
#191436 #2D2563 #42368F #5848BA #8075CB

Accessibility & contrast

On white

9.74
#42368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#42368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42368F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42368F#FFFFFF#000000##FFFFFF
##42368F1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#234B5D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #42368f;
/* rgb */ color: rgb(66, 54, 143);
/* oklch */ color: oklch(39.9% 0.141 284.1);
Tailwind
colors: {
  custom: {
    50: '#7d6db0',
    500: '#42368f',
    950: '#000000',
  },
}
SCSS
$custom: #42368f;
$custom-light: #7d6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#42368f",
  "rgb": {
    "r": 66,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 248.09,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39933,
    "c": 0.14122,
    "h": 284.1
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#42368F
secondary
#AAB36D
accent
#D553C3
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #42368F

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

Preview Lab → · Contrast checker → · Palette generator →

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