#42587F#42587F

#42587F is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.0% C 0.070 H 261.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#42587F
RGBrgb(66, 88, 127)
HSLhsl(218, 32%, 38%)
HSVhsv(218, 48%, 50%)
CMYKcmyk(48%, 30.7%, 0%, 50.2%)
CIE-LABlab(37.24, 3.08, -24.55)
CIE-LCHlch(37.24, 24.75, 277.16°)
OKLaboklab(45.99% -0.0103 -0.0688)
OKLCHoklch(45.99% 0.07 261.4)
XYZxyz(9.5660, 9.6694, 21.4369)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42587F #7F6942
analogous
#42767F #42587F #4B427F
triadic
#42587F #7F4258 #587F42
tetradic
#42587F #7F4276 #7F6942 #427F4B
square
#42587F #7F4276 #7F6942 #427F4B
split-complementary
#42587F #7F4B42 #767F42
monochromatic
#18202E #2D3C57 #42587F #5774A7 #7F95BC

Accessibility & contrast

On white

7.16
#42587F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#42587F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42587F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42587F#FFFFFF#000000##FFFFFF
##42587F1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495B81
Deuteranopia (green-blind)
#43557E
Tritanopia (blue-blind)
#2A6066
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #42587f;
/* rgb */ color: rgb(66, 88, 127);
/* oklch */ color: oklch(46.0% 0.070 261.4);
Tailwind
colors: {
  custom: {
    50: '#7a87a4',
    500: '#42587f',
    950: '#000000',
  },
}
SCSS
$custom: #42587f;
$custom-light: #7a87a4;
$custom-dark: #000000;
JSON
{
  "hex": "#42587f",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 127
  },
  "hsl": {
    "h": 218.361,
    "s": 31.606,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45986,
    "c": 0.06953,
    "h": 261.4
  },
  "luminance": 0.0967
}

Semantic roles & 50–950 ramp

primary
#42587F
secondary
#A79575
accent
#A260C8
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090B0F
muted
#7B7C7F

Preview Lab

Preview with #42587F

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

Preview Lab → · Contrast checker → · Palette generator →

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