#42589A#42589A

#42589A is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.6% C 0.110 H 268.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#42589A
RGBrgb(66, 88, 154)
HSLhsl(225, 40%, 43%)
HSVhsv(225, 57%, 60%)
CMYKcmyk(57.1%, 42.9%, 0%, 39.6%)
CIE-LABlab(38.67, 12.12, -38.68)
CIE-LCHlch(38.67, 40.53, 287.40°)
OKLaboklab(47.56% -0.0035 -0.1099)
OKLCHoklch(47.56% 0.11 268.2)
XYZxyz(11.5673, 10.4699, 31.9769)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42589A #9A8442
analogous
#42849A #42589A #58429A
triadic
#42589A #9A4258 #589A42
tetradic
#42589A #9A4284 #9A8442 #429A58
square
#42589A #9A4284 #9A8442 #429A58
split-complementary
#42589A #9A5842 #849A42
monochromatic
#1D2744 #30406F #42589A #5F76BA #8A9ACD

Accessibility & contrast

On white

6.79
#42589A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#42589A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42589A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42589A#FFFFFF#000000##FFFFFF
##42589A1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5F9D
Deuteranopia (green-blind)
#315799
Tritanopia (blue-blind)
#0A6771
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #42589a;
/* rgb */ color: rgb(66, 88, 154);
/* oklch */ color: oklch(47.6% 0.110 268.2);
Tailwind
colors: {
  custom: {
    50: '#7d86b8',
    500: '#42589a',
    950: '#000000',
  },
}
SCSS
$custom: #42589a;
$custom-light: #7d86b8;
$custom-dark: #000000;
JSON
{
  "hex": "#42589a",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 154
  },
  "hsl": {
    "h": 225,
    "s": 40,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47561,
    "c": 0.10997,
    "h": 268.2
  },
  "luminance": 0.10471
}

Semantic roles & 50–950 ramp

primary
#42589A
secondary
#B8AA80
accent
#B258D0
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #42589A

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

Preview Lab → · Contrast checker → · Palette generator →

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