#42465E#42465E

#42465E is a dark, muted blue. Relative luminance 0.063; OKLCH L 40.1% C 0.041 H 277.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#42465E
RGBrgb(66, 70, 94)
HSLhsl(231, 18%, 31%)
HSVhsv(231, 30%, 37%)
CMYKcmyk(29.8%, 25.5%, 0%, 63.1%)
CIE-LABlab(30.27, 4.57, -14.69)
CIE-LCHlch(30.27, 15.38, 287.30°)
OKLaboklab(40.05% 0.005 -0.0405)
OKLCHoklch(40.05% 0.041 277)
XYZxyz(6.4568, 6.3465, 11.4723)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42465E #5E5A42
analogous
#42545E #42465E #4C425E
triadic
#42465E #5E4246 #465E42
tetradic
#42465E #5E4254 #5E5A42 #425E4C
square
#42465E #5E4254 #5E5A42 #425E4C
split-complementary
#42465E #5E4C42 #545E42
monochromatic
#101016 #292B3A #42465E #5B6182 #797FA1

Accessibility & contrast

On white

9.25
#42465E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#42465E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42465E
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42465E#FFFFFF#000000##FFFFFF
##42465E1.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)
#3F485F
Deuteranopia (green-blind)
#3D465D
Tritanopia (blue-blind)
#3B4A4E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #42465e;
/* rgb */ color: rgb(66, 70, 94);
/* oklch */ color: oklch(40.1% 0.041 277.0);
Tailwind
colors: {
  custom: {
    50: '#77798b',
    500: '#42465e',
    950: '#000000',
  },
}
SCSS
$custom: #42465e;
$custom-light: #77798b;
$custom-dark: #000000;
JSON
{
  "hex": "#42465e",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 94
  },
  "hsl": {
    "h": 231.429,
    "s": 17.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40054,
    "c": 0.0408,
    "h": 277
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#42465E
secondary
#8D896E
accent
#AF6EBA
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08090C
muted
#7B7B7D

Preview Lab

Preview with #42465E

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

Preview Lab → · Contrast checker → · Palette generator →

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