#42467A#42467A

#42467A is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.6% C 0.086 H 278.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#42467A
RGBrgb(66, 70, 122)
HSLhsl(236, 30%, 37%)
HSVhsv(236, 46%, 48%)
CMYKcmyk(45.9%, 42.6%, 0%, 52.2%)
CIE-LABlab(31.68, 13.15, -30.20)
CIE-LCHlch(31.68, 32.94, 293.52°)
OKLaboklab(41.6% 0.0129 -0.0853)
OKLCHoklch(41.6% 0.086 278.6)
XYZxyz(7.9487, 6.9433, 19.3299)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42467A #7A7642
analogous
#42627A #42467A #5A427A
triadic
#42467A #7A4246 #467A42
tetradic
#42467A #7A4262 #7A7642 #427A5A
square
#42467A #7A4262 #7A7642 #427A5A
split-complementary
#42467A #7A5A42 #627A42
monochromatic
#17182B #2D2F52 #42467A #575DA2 #7D82B9

Accessibility & contrast

On white

8.79
#42467A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#42467A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42467A
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42467A#FFFFFF#000000##FFFFFF
##42467A1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42467a;
/* rgb */ color: rgb(66, 70, 122);
/* oklch */ color: oklch(41.6% 0.086 278.6);
Tailwind
colors: {
  custom: {
    50: '#7979a1',
    500: '#42467a',
    950: '#000000',
  },
}
SCSS
$custom: #42467a;
$custom-light: #7979a1;
$custom-dark: #000000;
JSON
{
  "hex": "#42467a",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 122
  },
  "hsl": {
    "h": 235.714,
    "s": 29.787,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41601,
    "c": 0.08622,
    "h": 278.6
  },
  "luminance": 0.06944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42467A

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

Preview Lab → · Contrast checker → · Palette generator →

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