#42447D#42447D

#42447D is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.4% C 0.094 H 279.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#42447D
RGBrgb(66, 68, 125)
HSLhsl(238, 31%, 37%)
HSVhsv(238, 47%, 49%)
CMYKcmyk(47.2%, 45.6%, 0%, 51%)
CIE-LABlab(31.28, 15.44, -32.70)
CIE-LCHlch(31.28, 36.16, 295.28°)
OKLaboklab(41.36% 0.0162 -0.0926)
OKLCHoklch(41.36% 0.094 279.9)
XYZxyz(8.0144, 6.7728, 20.2830)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42447D #7D7B42
analogous
#42627D #42447D #5D427D
triadic
#42447D #7D4244 #447D42
tetradic
#42447D #7D4262 #7D7B42 #427D5D
square
#42447D #7D4262 #7D7B42 #427D5D
split-complementary
#42447D #7D5D42 #627D42
monochromatic
#18182D #2D2E55 #42447D #575AA5 #7E80BB

Accessibility & contrast

On white

8.92
#42447D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#42447D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42447D
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42447D#FFFFFF#000000##FFFFFF
##42447D1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#2A477C
Tritanopia (blue-blind)
#2E505A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #42447d;
/* rgb */ color: rgb(66, 68, 125);
/* oklch */ color: oklch(41.4% 0.094 279.9);
Tailwind
colors: {
  custom: {
    50: '#7a77a3',
    500: '#42447d',
    950: '#000000',
  },
}
SCSS
$custom: #42447d;
$custom-light: #7a77a3;
$custom-dark: #000000;
JSON
{
  "hex": "#42447d",
  "rgb": {
    "r": 66,
    "g": 68,
    "b": 125
  },
  "hsl": {
    "h": 237.966,
    "s": 30.89,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41358,
    "c": 0.09397,
    "h": 279.9
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#42447D
secondary
#A6A475
accent
#C461C7
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #42447D

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

Preview Lab → · Contrast checker → · Palette generator →

#42447D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva