#42477B#42477B

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

Color values

HEX#42477B
RGBrgb(66, 71, 123)
HSLhsl(235, 30%, 37%)
HSVhsv(235, 46%, 48%)
CMYKcmyk(46.3%, 42.3%, 0%, 51.8%)
CIE-LABlab(32.02, 12.81, -30.28)
CIE-LCHlch(32.02, 32.88, 292.93°)
OKLaboklab(41.88% 0.0117 -0.0855)
OKLCHoklch(41.88% 0.086 277.8)
XYZxyz(8.0741, 7.0944, 19.6790)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42477B #7B7642
analogous
#42647B #42477B #5A427B
triadic
#42477B #7B4247 #477B42
tetradic
#42477B #7B4264 #7B7642 #427B5A
square
#42477B #7B4264 #7B7642 #427B5A
split-complementary
#42477B #7B5A42 #647B42
monochromatic
#17192B #2D3053 #42477B #575EA3 #7E83BA

Accessibility & contrast

On white

8.68
#42477B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#42477B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42477B
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42477B#FFFFFF#000000##FFFFFF
##42477B1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7D
Deuteranopia (green-blind)
#30497A
Tritanopia (blue-blind)
#2F525B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #42477b;
/* rgb */ color: rgb(66, 71, 123);
/* oklch */ color: oklch(41.9% 0.086 277.8);
Tailwind
colors: {
  custom: {
    50: '#7a7aa1',
    500: '#42477b',
    950: '#000000',
  },
}
SCSS
$custom: #42477b;
$custom-light: #7a7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#42477b",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 234.737,
    "s": 30.159,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41882,
    "c": 0.08629,
    "h": 277.8
  },
  "luminance": 0.07095
}

Semantic roles & 50–950 ramp

primary
#42477B
secondary
#A5A074
accent
#BE61C6
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#09090F
muted
#7B7B7E

Preview Lab

Preview with #42477B

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

Preview Lab → · Contrast checker → · Palette generator →

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