#42437E#42437E

#42437E is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.2% C 0.097 H 280.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#42437E
RGBrgb(66, 67, 126)
HSLhsl(239, 31%, 38%)
HSVhsv(239, 48%, 49%)
CMYKcmyk(47.6%, 46.8%, 0%, 50.6%)
CIE-LABlab(31.06, 16.43, -33.67)
CIE-LCHlch(31.06, 37.47, 296.01°)
OKLaboklab(41.21% 0.0177 -0.0954)
OKLCHoklch(41.21% 0.097 280.5)
XYZxyz(8.0187, 6.6785, 20.6012)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42437E #7E7D42
analogous
#42617E #42437E #5F427E
triadic
#42437E #7E4243 #437E42
tetradic
#42437E #7E4261 #7E7D42 #427E5F
square
#42437E #7E4261 #7E7D42 #427E5F
split-complementary
#42437E #7E5F42 #617E42
monochromatic
#18182E #2D2E56 #42437E #5758A6 #7F80BC

Accessibility & contrast

On white

8.99
#42437E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#42437E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42437E
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42437E#FFFFFF#000000##FFFFFF
##42437E1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#28477D
Tritanopia (blue-blind)
#2E4F5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #42437e;
/* rgb */ color: rgb(66, 67, 126);
/* oklch */ color: oklch(41.2% 0.097 280.5);
Tailwind
colors: {
  custom: {
    50: '#7a77a4',
    500: '#42437e',
    950: '#000000',
  },
}
SCSS
$custom: #42437e;
$custom-light: #7a77a4;
$custom-dark: #000000;
JSON
{
  "hex": "#42437e",
  "rgb": {
    "r": 66,
    "g": 67,
    "b": 126
  },
  "hsl": {
    "h": 239,
    "s": 31.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4121,
    "c": 0.09705,
    "h": 280.5
  },
  "luminance": 0.06679
}

Semantic roles & 50–950 ramp

primary
#42437E
secondary
#A7A675
accent
#C660C7
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #42437E

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

Preview Lab → · Contrast checker → · Palette generator →

#42437E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva