#42497D#42497D

#42497D is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.4% C 0.086 H 276.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#42497D
RGBrgb(66, 73, 125)
HSLhsl(233, 31%, 37%)
HSVhsv(233, 47%, 49%)
CMYKcmyk(47.2%, 41.6%, 0%, 51%)
CIE-LABlab(32.71, 12.14, -30.44)
CIE-LCHlch(32.71, 32.77, 291.75°)
OKLaboklab(42.45% 0.0094 -0.0859)
OKLCHoklch(42.45% 0.086 276.3)
XYZxyz(8.3298, 7.4036, 20.3882)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42497D #7D7642
analogous
#42677D #42497D #58427D
triadic
#42497D #7D4249 #497D42
tetradic
#42497D #7D4267 #7D7642 #427D58
square
#42497D #7D4267 #7D7642 #427D58
split-complementary
#42497D #7D5842 #677D42
monochromatic
#181A2D #2D3255 #42497D #5760A5 #7E86BB

Accessibility & contrast

On white

8.47
#42497D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#42497D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42497D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42497D#FFFFFF#000000##FFFFFF
##42497D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7F
Deuteranopia (green-blind)
#314B7C
Tritanopia (blue-blind)
#2D545D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #42497d;
/* rgb */ color: rgb(66, 73, 125);
/* oklch */ color: oklch(42.4% 0.086 276.3);
Tailwind
colors: {
  custom: {
    50: '#7a7ba3',
    500: '#42497d',
    950: '#000000',
  },
}
SCSS
$custom: #42497d;
$custom-light: #7a7ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#42497d",
  "rgb": {
    "r": 66,
    "g": 73,
    "b": 125
  },
  "hsl": {
    "h": 232.881,
    "s": 30.89,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42445,
    "c": 0.08645,
    "h": 276.3
  },
  "luminance": 0.07404
}

Semantic roles & 50–950 ramp

primary
#42497D
secondary
#A6A075
accent
#BB61C7
background
#F7F7FA
surface
#EEEDF3
border
#C9C8CD
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #42497D

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

Preview Lab → · Contrast checker → · Palette generator →

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