#42445F#42445F

#42445F is a dark, muted blue. Relative luminance 0.061; OKLCH L 39.6% C 0.046 H 280.8°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#42445F
RGBrgb(66, 68, 95)
HSLhsl(236, 18%, 32%)
HSVhsv(236, 31%, 37%)
CMYKcmyk(30.5%, 28.4%, 0%, 62.7%)
CIE-LABlab(29.71, 6.17, -16.19)
CIE-LCHlch(29.71, 17.32, 290.85°)
OKLaboklab(39.63% 0.0086 -0.0447)
OKLCHoklch(39.63% 0.046 280.8)
XYZxyz(6.3789, 6.1186, 11.6692)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42445F #5F5D42
analogous
#42535F #42445F #4F425F
triadic
#42445F #5F4244 #445F42
tetradic
#42445F #5F4253 #5F5D42 #425F4F
square
#42445F #5F4253 #5F5D42 #425F4F
split-complementary
#42445F #5F4F42 #535F42
monochromatic
#101017 #292A3B #42445F #5B5E83 #797CA2

Accessibility & contrast

On white

9.44
#42445F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#42445F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42445F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42445F#FFFFFF#000000##FFFFFF
##42445F1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4760
Deuteranopia (green-blind)
#3B455E
Tritanopia (blue-blind)
#3B494D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #42445f;
/* rgb */ color: rgb(66, 68, 95);
/* oklch */ color: oklch(39.6% 0.046 280.8);
Tailwind
colors: {
  custom: {
    50: '#77778c',
    500: '#42445f',
    950: '#000000',
  },
}
SCSS
$custom: #42445f;
$custom-light: #77778c;
$custom-dark: #000000;
JSON
{
  "hex": "#42445f",
  "rgb": {
    "r": 66,
    "g": 68,
    "b": 95
  },
  "hsl": {
    "h": 235.862,
    "s": 18.012,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39633,
    "c": 0.04556,
    "h": 280.8
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#42445F
secondary
#8E8C6E
accent
#B56DBB
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080C
muted
#7B7B7D

Preview Lab

Preview with #42445F

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

Preview Lab → · Contrast checker → · Palette generator →

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