#42589F#42589F

#42589F is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.9% C 0.117 H 268.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#42589F
RGBrgb(66, 88, 159)
HSLhsl(226, 41%, 44%)
HSVhsv(226, 58%, 62%)
CMYKcmyk(58.5%, 44.7%, 0%, 37.6%)
CIE-LABlab(38.97, 13.85, -41.20)
CIE-LCHlch(38.97, 43.47, 288.58°)
OKLaboklab(47.88% -0.0026 -0.1173)
OKLCHoklch(47.88% 0.117 268.7)
XYZxyz(11.9924, 10.6400, 34.2159)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42589F #9F8942
analogous
#42879F #42589F #5B429F
triadic
#42589F #9F4258 #589F42
tetradic
#42589F #9F4287 #9F8942 #429F5B
square
#42589F #9F4287 #9F8942 #429F5B
split-complementary
#42589F #9F5B42 #879F42
monochromatic
#1E2849 #304074 #42589F #6177BD #8C9CCF

Accessibility & contrast

On white

6.71
#42589F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#42589F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42589F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42589F#FFFFFF#000000##FFFFFF
##42589F1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3860A2
Deuteranopia (green-blind)
#2C589D
Tritanopia (blue-blind)
#006874
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #42589f;
/* rgb */ color: rgb(66, 88, 159);
/* oklch */ color: oklch(47.9% 0.117 268.7);
Tailwind
colors: {
  custom: {
    50: '#7e86bc',
    500: '#42589f',
    950: '#000000',
  },
}
SCSS
$custom: #42589f;
$custom-light: #7e86bc;
$custom-dark: #000000;
JSON
{
  "hex": "#42589f",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 159
  },
  "hsl": {
    "h": 225.806,
    "s": 41.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47882,
    "c": 0.11734,
    "h": 268.7
  },
  "luminance": 0.10641
}

Semantic roles & 50–950 ramp

primary
#42589F
secondary
#BAAD82
accent
#B457D1
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #42589F

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

Preview Lab → · Contrast checker → · Palette generator →

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