#42389B#42389B

#42389B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.155 H 281.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#42389B
RGBrgb(66, 56, 155)
HSLhsl(246, 47%, 41%)
HSVhsv(246, 64%, 61%)
CMYKcmyk(57.4%, 63.9%, 0%, 39.2%)
CIE-LABlab(30.28, 33.15, -52.79)
CIE-LCHlch(30.28, 62.33, 302.13°)
OKLaboklab(41.29% 0.0316 -0.1517)
OKLCHoklch(41.29% 0.155 281.8)
XYZxyz(9.5755, 6.3525, 31.7256)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42389B #919B38
analogous
#38609B #42389B #74389B
triadic
#42389B #9B4238 #389B42
tetradic
#42389B #9B3860 #919B38 #389B74
square
#42389B #9B3860 #919B38 #389B74
split-complementary
#42389B #9B7438 #609B38
monochromatic
#1C1841 #2F286E #42389B #5C50C0 #867DD0

Accessibility & contrast

On white

9.25
#42389B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#42389B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42389B
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42389B#FFFFFF#000000##FFFFFF
##42389B1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#145064
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #42389b;
/* rgb */ color: rgb(66, 56, 155);
/* oklch */ color: oklch(41.3% 0.155 281.8);
Tailwind
colors: {
  custom: {
    50: '#7f6fb9',
    500: '#42389b',
    950: '#000000',
  },
}
SCSS
$custom: #42389b;
$custom-light: #7f6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#42389b",
  "rgb": {
    "r": 66,
    "g": 56,
    "b": 155
  },
  "hsl": {
    "h": 246.061,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41285,
    "c": 0.15492,
    "h": 281.8
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#42389B
secondary
#B3B975
accent
#D751C9
background
#F8F6FB
surface
#EFECF6
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #42389B

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

Preview Lab → · Contrast checker → · Palette generator →

#42389B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva