#42589C#42589C

#42589C is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.7% C 0.113 H 268.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#42589C
RGBrgb(66, 88, 156)
HSLhsl(225, 41%, 44%)
HSVhsv(225, 58%, 61%)
CMYKcmyk(57.7%, 43.6%, 0%, 38.8%)
CIE-LABlab(38.79, 12.81, -39.69)
CIE-LCHlch(38.79, 41.71, 287.89°)
OKLaboklab(47.69% -0.0031 -0.1129)
OKLCHoklch(47.69% 0.113 268.4)
XYZxyz(11.7352, 10.5371, 32.8615)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42589C #9C8642
analogous
#42859C #42589C #59429C
triadic
#42589C #9C4258 #589C42
tetradic
#42589C #9C4285 #9C8642 #429C59
square
#42589C #9C4285 #9C8642 #429C59
split-complementary
#42589C #9C5942 #859C42
monochromatic
#1E2746 #304071 #42589C #6076BC #8B9BCE

Accessibility & contrast

On white

6.76
#42589C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #42589C
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42589C#FFFFFF#000000##FFFFFF
##42589C1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A609F
Deuteranopia (green-blind)
#2F589B
Tritanopia (blue-blind)
#056772
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #42589c;
/* rgb */ color: rgb(66, 88, 156);
/* oklch */ color: oklch(47.7% 0.113 268.4);
Tailwind
colors: {
  custom: {
    50: '#7e86b9',
    500: '#42589c',
    950: '#000000',
  },
}
SCSS
$custom: #42589c;
$custom-light: #7e86b9;
$custom-dark: #000000;
JSON
{
  "hex": "#42589c",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 156
  },
  "hsl": {
    "h": 225.333,
    "s": 40.541,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47688,
    "c": 0.11292,
    "h": 268.4
  },
  "luminance": 0.10538
}

Semantic roles & 50–950 ramp

primary
#42589C
secondary
#B9AB81
accent
#B357D0
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #42589C

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

Preview Lab → · Contrast checker → · Palette generator →

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