#42496B#42496B

#42496B is a dark, muted blue. Relative luminance 0.070; OKLCH L 41.4% C 0.058 H 274.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#42496B
RGBrgb(66, 73, 107)
HSLhsl(230, 24%, 34%)
HSVhsv(230, 38%, 42%)
CMYKcmyk(38.3%, 31.8%, 0%, 58%)
CIE-LABlab(31.77, 6.45, -20.63)
CIE-LCHlch(31.77, 21.62, 287.36°)
OKLaboklab(41.42% 0.0047 -0.0575)
OKLCHoklch(41.42% 0.058 274.7)
XYZxyz(7.2824, 6.9846, 14.8715)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42496B #6B6442
analogous
#425E6B #42496B #50426B
triadic
#42496B #6B4249 #496B42
tetradic
#42496B #6B425E #6B6442 #426B50
square
#42496B #6B425E #6B6442 #426B50
split-complementary
#42496B #6B5042 #5E6B42
monochromatic
#13151F #2B2F45 #42496B #596391 #7A83AD

Accessibility & contrast

On white

8.76
#42496B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#42496B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42496B
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42496B#FFFFFF#000000##FFFFFF
##42496B1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4C6C
Deuteranopia (green-blind)
#3B496A
Tritanopia (blue-blind)
#365055
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #42496b;
/* rgb */ color: rgb(66, 73, 107);
/* oklch */ color: oklch(41.4% 0.058 274.7);
Tailwind
colors: {
  custom: {
    50: '#787b95',
    500: '#42496b',
    950: '#000000',
  },
}
SCSS
$custom: #42496b;
$custom-light: #787b95;
$custom-dark: #000000;
JSON
{
  "hex": "#42496b",
  "rgb": {
    "r": 66,
    "g": 73,
    "b": 107
  },
  "hsl": {
    "h": 229.756,
    "s": 23.699,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41416,
    "c": 0.05768,
    "h": 274.7
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#42496B
secondary
#999270
accent
#B168C0
background
#F7F7F9
surface
#EDEDF1
border
#C8C8CB
text
#09090D
muted
#7B7B7E

Preview Lab

Preview with #42496B

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

Preview Lab → · Contrast checker → · Palette generator →

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