#42477A#42477A

#42477A is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.8% C 0.085 H 277.8°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#42477A
RGBrgb(66, 71, 122)
HSLhsl(235, 30%, 37%)
HSVhsv(235, 46%, 48%)
CMYKcmyk(45.9%, 41.8%, 0%, 52.2%)
CIE-LABlab(31.96, 12.49, -29.75)
CIE-LCHlch(31.96, 32.26, 292.77°)
OKLaboklab(41.82% 0.0115 -0.0839)
OKLCHoklch(41.82% 0.085 277.8)
XYZxyz(8.0118, 7.0695, 19.3510)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42477A #7A7542
analogous
#42637A #42477A #59427A
triadic
#42477A #7A4247 #477A42
tetradic
#42477A #7A4263 #7A7542 #427A59
square
#42477A #7A4263 #7A7542 #427A59
split-complementary
#42477A #7A5942 #637A42
monochromatic
#17192B #2D3052 #42477A #575EA2 #7D83B9

Accessibility & contrast

On white

8.70
#42477A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#42477A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42477A
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42477A#FFFFFF#000000##FFFFFF
##42477A1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7C
Deuteranopia (green-blind)
#304979
Tritanopia (blue-blind)
#2F515A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #42477a;
/* rgb */ color: rgb(66, 71, 122);
/* oklch */ color: oklch(41.8% 0.085 277.8);
Tailwind
colors: {
  custom: {
    50: '#797aa1',
    500: '#42477a',
    950: '#000000',
  },
}
SCSS
$custom: #42477a;
$custom-light: #797aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#42477a",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 234.643,
    "s": 29.787,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4182,
    "c": 0.08471,
    "h": 277.8
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#42477A
secondary
#A4A074
accent
#BD62C6
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#09090F
muted
#7B7B7E

Preview Lab

Preview with #42477A

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

Preview Lab → · Contrast checker → · Palette generator →

#42477A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva