#42589B#42589B

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

Color values

HEX#42589B
RGBrgb(66, 88, 155)
HSLhsl(225, 40%, 43%)
HSVhsv(225, 57%, 61%)
CMYKcmyk(57.4%, 43.2%, 0%, 39.2%)
CIE-LABlab(38.73, 12.47, -39.18)
CIE-LCHlch(38.73, 41.12, 287.65°)
OKLaboklab(47.62% -0.0033 -0.1114)
OKLCHoklch(47.62% 0.111 268.3)
XYZxyz(11.6509, 10.5034, 32.4174)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42589B #9B8542
analogous
#42849B #42589B #59429B
triadic
#42589B #9B4258 #589B42
tetradic
#42589B #9B4284 #9B8542 #429B59
square
#42589B #9B4284 #9B8542 #429B59
split-complementary
#42589B #9B5942 #849B42
monochromatic
#1D2745 #304070 #42589B #5F76BB #8A9BCD

Accessibility & contrast

On white

6.77
#42589B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#42589B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42589B
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42589B#FFFFFF#000000##FFFFFF
##42589B1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5F9E
Deuteranopia (green-blind)
#30579A
Tritanopia (blue-blind)
#086772
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #42589b;
/* rgb */ color: rgb(66, 88, 155);
/* oklch */ color: oklch(47.6% 0.111 268.3);
Tailwind
colors: {
  custom: {
    50: '#7d86b9',
    500: '#42589b',
    950: '#000000',
  },
}
SCSS
$custom: #42589b;
$custom-light: #7d86b9;
$custom-dark: #000000;
JSON
{
  "hex": "#42589b",
  "rgb": {
    "r": 66,
    "g": 88,
    "b": 155
  },
  "hsl": {
    "h": 225.169,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47624,
    "c": 0.11144,
    "h": 268.3
  },
  "luminance": 0.10504
}

Semantic roles & 50–950 ramp

primary
#42589B
secondary
#B8AA81
accent
#B258D0
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #42589B

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

Preview Lab → · Contrast checker → · Palette generator →

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