#42437F#42437F

#42437F is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.3% C 0.099 H 280.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#42437F
RGBrgb(66, 67, 127)
HSLhsl(239, 32%, 38%)
HSVhsv(239, 48%, 50%)
CMYKcmyk(48%, 47.2%, 0%, 50.2%)
CIE-LABlab(31.12, 16.76, -34.20)
CIE-LCHlch(31.12, 38.09, 296.11°)
OKLaboklab(41.28% 0.0179 -0.097)
OKLCHoklch(41.28% 0.099 280.4)
XYZxyz(8.0835, 6.7045, 20.9427)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42437F #7F7E42
analogous
#42627F #42437F #5F427F
triadic
#42437F #7F4243 #437F42
tetradic
#42437F #7F4262 #7F7E42 #427F5F
square
#42437F #7F4262 #7F7E42 #427F5F
split-complementary
#42437F #7F5F42 #627F42
monochromatic
#18192E #2D2E57 #42437F #5758A7 #7F80BC

Accessibility & contrast

On white

8.97
#42437F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42437F
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42437F#FFFFFF#000000##FFFFFF
##42437F1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#27477E
Tritanopia (blue-blind)
#2D505B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #42437f;
/* rgb */ color: rgb(66, 67, 127);
/* oklch */ color: oklch(41.3% 0.099 280.4);
Tailwind
colors: {
  custom: {
    50: '#7a77a4',
    500: '#42437f',
    950: '#000000',
  },
}
SCSS
$custom: #42437f;
$custom-light: #7a77a4;
$custom-dark: #000000;
JSON
{
  "hex": "#42437f",
  "rgb": {
    "r": 66,
    "g": 67,
    "b": 127
  },
  "hsl": {
    "h": 239.016,
    "s": 31.606,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41276,
    "c": 0.09859,
    "h": 280.4
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42437F

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

Preview Lab → · Contrast checker → · Palette generator →

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