#42587D#42587D

#42587D is a mid, moderate blue. Relative luminance 0.096; OKLCH L 45.9% C 0.067 H 260.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#42587D
RGBrgb(66, 88, 125)
HSLhsl(218, 31%, 37%)
HSVhsv(218, 47%, 49%)
CMYKcmyk(47.2%, 29.6%, 0%, 51%)
CIE-LABlab(37.15, 2.44, -23.47)
CIE-LCHlch(37.15, 23.60, 275.94°)
OKLaboklab(45.88% -0.011 -0.0656)
OKLCHoklch(45.88% 0.067 260.5)
XYZxyz(9.4370, 9.6178, 20.7572)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42587D #7D6742
analogous
#42767D #42587D #49427D
triadic
#42587D #7D4258 #587D42
tetradic
#42587D #7D4276 #7D6742 #427D49
square
#42587D #7D4276 #7D6742 #427D49
split-complementary
#42587D #7D4942 #767D42
monochromatic
#18202D #2D3C55 #42587D #5774A5 #7E95BB

Accessibility & contrast

On white

7.18
#42587D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#42587D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42587D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42587D#FFFFFF#000000##FFFFFF
##42587D1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5A7F
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#2B6065
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #42587d;
/* rgb */ color: rgb(66, 88, 125);
/* oklch */ color: oklch(45.9% 0.067 260.5);
Tailwind
colors: {
  custom: {
    50: '#7987a3',
    500: '#42587d',
    950: '#000000',
  },
}
SCSS
$custom: #42587d;
$custom-light: #7987a3;
$custom-dark: #000000;
JSON
{
  "hex": "#42587d",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 125
  },
  "hsl": {
    "h": 217.627,
    "s": 30.89,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4588,
    "c": 0.06656,
    "h": 260.5
  },
  "luminance": 0.09618
}

Semantic roles & 50–950 ramp

primary
#42587D
secondary
#A69475
accent
#A161C7
background
#F7F8FA
surface
#EEEFF3
border
#C9CACD
text
#090B0F
muted
#7B7C7F

Preview Lab

Preview with #42587D

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

Preview Lab → · Contrast checker → · Palette generator →

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