#42439B#42439B

#42439B is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.140 H 278.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#42439B
RGBrgb(66, 67, 155)
HSLhsl(239, 40%, 43%)
HSVhsv(239, 57%, 61%)
CMYKcmyk(57.4%, 56.8%, 0%, 39.2%)
CIE-LABlab(33.00, 26.14, -48.38)
CIE-LCHlch(33.00, 54.99, 298.39°)
OKLaboklab(43.29% 0.0203 -0.1386)
OKLCHoklch(43.29% 0.14 278.3)
XYZxyz(10.1684, 7.5384, 31.9232)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42439B #9B9A42
analogous
#426F9B #42439B #6D429B
triadic
#42439B #9B4243 #439B42
tetradic
#42439B #9B426F #9B9A42 #429B6D
square
#42439B #9B426F #9B9A42 #429B6D
split-complementary
#42439B #9B6D42 #6F9B42
monochromatic
#1D1E45 #303070 #42439B #5F60BB #8A8BCD

Accessibility & contrast

On white

8.37
#42439B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#42439B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42439B
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42439B#FFFFFF#000000##FFFFFF
##42439B1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01519E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#115768
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #42439b;
/* rgb */ color: rgb(66, 67, 155);
/* oklch */ color: oklch(43.3% 0.140 278.3);
Tailwind
colors: {
  custom: {
    50: '#7f77b9',
    500: '#42439b',
    950: '#000000',
  },
}
SCSS
$custom: #42439b;
$custom-light: #7f77b9;
$custom-dark: #000000;
JSON
{
  "hex": "#42439b",
  "rgb": {
    "r": 66,
    "g": 67,
    "b": 155
  },
  "hsl": {
    "h": 239.326,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43289,
    "c": 0.14011,
    "h": 278.3
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

primary
#42439B
secondary
#B8B881
accent
#CF58D0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #42439B

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

Preview Lab → · Contrast checker → · Palette generator →

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