#42476F#42476F

#42476F is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.067 H 277.6°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#42476F
RGBrgb(66, 71, 111)
HSLhsl(233, 25%, 35%)
HSVhsv(233, 41%, 44%)
CMYKcmyk(40.5%, 36%, 0%, 56.5%)
CIE-LABlab(31.38, 8.99, -23.78)
CIE-LCHlch(31.38, 25.42, 290.72°)
OKLaboklab(41.18% 0.0089 -0.0666)
OKLCHoklch(41.18% 0.067 277.6)
XYZxyz(7.3684, 6.8121, 15.9625)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42476F #6F6A42
analogous
#425E6F #42476F #53426F
triadic
#42476F #6F4247 #476F42
tetradic
#42476F #6F425E #6F6A42 #426F53
square
#42476F #6F425E #6F6A42 #426F53
split-complementary
#42476F #6F5342 #5E6F42
monochromatic
#141622 #2B2E49 #42476F #596095 #7B81B0

Accessibility & contrast

On white

8.89
#42476F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#42476F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42476F
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42476F#FFFFFF#000000##FFFFFF
##42476F1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C71
Deuteranopia (green-blind)
#37486E
Tritanopia (blue-blind)
#354F56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #42476f;
/* rgb */ color: rgb(66, 71, 111);
/* oklch */ color: oklch(41.2% 0.067 277.6);
Tailwind
colors: {
  custom: {
    50: '#787a98',
    500: '#42476f',
    950: '#000000',
  },
}
SCSS
$custom: #42476f;
$custom-light: #787a98;
$custom-dark: #000000;
JSON
{
  "hex": "#42476f",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 111
  },
  "hsl": {
    "h": 233.333,
    "s": 25.424,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41175,
    "c": 0.06715,
    "h": 277.6
  },
  "luminance": 0.06812
}

Semantic roles & 50–950 ramp

primary
#42476F
secondary
#9C9771
accent
#B866C2
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09090D
muted
#7B7B7E

Preview Lab

Preview with #42476F

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

Preview Lab → · Contrast checker → · Palette generator →

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