#42559E#42559E

#42559E is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.2% C 0.120 H 270.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#42559E
RGBrgb(66, 85, 158)
HSLhsl(228, 41%, 44%)
HSVhsv(228, 58%, 62%)
CMYKcmyk(58.2%, 46.2%, 0%, 38%)
CIE-LABlab(38.06, 15.45, -42.05)
CIE-LCHlch(38.06, 44.80, 290.17°)
OKLaboklab(47.17% 0.0006 -0.1198)
OKLCHoklch(47.17% 0.12 270.3)
XYZxyz(11.6648, 10.1230, 33.6804)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42559E #9E8B42
analogous
#42839E #42559E #5D429E
triadic
#42559E #9E4255 #559E42
tetradic
#42559E #9E4283 #9E8B42 #429E5D
square
#42559E #9E4283 #9E8B42 #429E5D
split-complementary
#42559E #9E5D42 #839E42
monochromatic
#1E2748 #303E73 #42559E #6074BD #8C99CF

Accessibility & contrast

On white

6.94
#42559E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#42559E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42559E
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42559E#FFFFFF#000000##FFFFFF
##42559E1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA1
Deuteranopia (green-blind)
#27569C
Tritanopia (blue-blind)
#016572
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #42559e;
/* rgb */ color: rgb(66, 85, 158);
/* oklch */ color: oklch(47.2% 0.120 270.3);
Tailwind
colors: {
  custom: {
    50: '#7e84bb',
    500: '#42559e',
    950: '#000000',
  },
}
SCSS
$custom: #42559e;
$custom-light: #7e84bb;
$custom-dark: #000000;
JSON
{
  "hex": "#42559e",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 158
  },
  "hsl": {
    "h": 227.609,
    "s": 41.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4717,
    "c": 0.11984,
    "h": 270.3
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#42559E
secondary
#BAAE82
accent
#B857D1
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #42559E

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

Preview Lab → · Contrast checker → · Palette generator →

#42559E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva