#42588D#42588D

#42588D is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.8% C 0.091 H 265.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#42588D
RGBrgb(66, 88, 141)
HSLhsl(222, 36%, 41%)
HSVhsv(222, 53%, 55%)
CMYKcmyk(53.2%, 37.6%, 0%, 44.7%)
CIE-LABlab(37.95, 7.69, -31.98)
CIE-LCHlch(37.95, 32.89, 283.53°)
OKLaboklab(46.77% -0.0064 -0.0903)
OKLCHoklch(46.77% 0.091 265.9)
XYZxyz(10.5426, 10.0601, 26.5804)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42588D #8D7742
analogous
#427D8D #42588D #51428D
triadic
#42588D #8D4258 #588D42
tetradic
#42588D #8D427D #8D7742 #428D51
square
#42588D #8D427D #8D7742 #428D51
split-complementary
#42588D #8D5142 #7D8D42
monochromatic
#1B243A #2E3E63 #42588D #5A74B2 #8497C5

Accessibility & contrast

On white

6.97
#42588D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#42588D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42588D
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42588D#FFFFFF#000000##FFFFFF
##42588D1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D8F
Deuteranopia (green-blind)
#3B568C
Tritanopia (blue-blind)
#1E636C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #42588d;
/* rgb */ color: rgb(66, 88, 141);
/* oklch */ color: oklch(46.8% 0.091 265.9);
Tailwind
colors: {
  custom: {
    50: '#7b86ae',
    500: '#42588d',
    950: '#000000',
  },
}
SCSS
$custom: #42588d;
$custom-light: #7b86ae;
$custom-dark: #000000;
JSON
{
  "hex": "#42588d",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 141
  },
  "hsl": {
    "h": 222.4,
    "s": 36.232,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46768,
    "c": 0.09055,
    "h": 265.9
  },
  "luminance": 0.10061
}

Semantic roles & 50–950 ramp

primary
#42588D
secondary
#B0A07B
accent
#AB5CCC
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#0A0B10
muted
#7C7C7F

Preview Lab

Preview with #42588D

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

Preview Lab → · Contrast checker → · Palette generator →

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