#42589D#42589D

#42589D is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.8% C 0.114 H 268.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#42589D
RGBrgb(66, 88, 157)
HSLhsl(225, 41%, 44%)
HSVhsv(225, 58%, 62%)
CMYKcmyk(58%, 43.9%, 0%, 38.4%)
CIE-LABlab(38.85, 13.16, -40.19)
CIE-LCHlch(38.85, 42.29, 288.13°)
OKLaboklab(47.75% -0.003 -0.1144)
OKLCHoklch(47.75% 0.114 268.5)
XYZxyz(11.8203, 10.5711, 33.3093)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42589D #9D8742
analogous
#42859D #42589D #59429D
triadic
#42589D #9D4258 #589D42
tetradic
#42589D #9D4285 #9D8742 #429D59
square
#42589D #9D4285 #9D8742 #429D59
split-complementary
#42589D #9D5942 #859D42
monochromatic
#1E2847 #304072 #42589D #6076BC #8B9BCE

Accessibility & contrast

On white

6.74
#42589D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#42589D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42589D
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42589D#FFFFFF#000000##FFFFFF
##42589D1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A60A0
Deuteranopia (green-blind)
#2E589C
Tritanopia (blue-blind)
#026773
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #42589d;
/* rgb */ color: rgb(66, 88, 157);
/* oklch */ color: oklch(47.8% 0.114 268.5);
Tailwind
colors: {
  custom: {
    50: '#7e86ba',
    500: '#42589d',
    950: '#000000',
  },
}
SCSS
$custom: #42589d;
$custom-light: #7e86ba;
$custom-dark: #000000;
JSON
{
  "hex": "#42589d",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 157
  },
  "hsl": {
    "h": 225.495,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47752,
    "c": 0.1144,
    "h": 268.5
  },
  "luminance": 0.10572
}

Semantic roles & 50–950 ramp

primary
#42589D
secondary
#B9AC82
accent
#B357D1
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #42589D

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

Preview Lab → · Contrast checker → · Palette generator →

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