#42559A#42559A

#42559A is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.9% C 0.114 H 270.0°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#42559A
RGBrgb(66, 85, 154)
HSLhsl(227, 40%, 43%)
HSVhsv(227, 57%, 60%)
CMYKcmyk(57.1%, 44.8%, 0%, 39.6%)
CIE-LABlab(37.82, 14.06, -40.04)
CIE-LCHlch(37.82, 42.43, 289.36°)
OKLaboklab(46.91% 0 -0.1139)
OKLCHoklch(46.91% 0.114 270)
XYZxyz(11.3261, 9.9875, 31.8965)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42559A #9A8742
analogous
#42819A #42559A #5B429A
triadic
#42559A #9A4255 #559A42
tetradic
#42559A #9A4281 #9A8742 #429A5B
square
#42559A #9A4281 #9A8742 #429A5B
split-complementary
#42559A #9A5B42 #819A42
monochromatic
#1D2644 #303D6F #42559A #5F73BA #8A98CD

Accessibility & contrast

On white

7.01
#42559A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#42559A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42559A
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42559A#FFFFFF#000000##FFFFFF
##42559A1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9D
Deuteranopia (green-blind)
#2B5599
Tritanopia (blue-blind)
#0C6470
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #42559a;
/* rgb */ color: rgb(66, 85, 154);
/* oklch */ color: oklch(46.9% 0.114 270.0);
Tailwind
colors: {
  custom: {
    50: '#7d84b8',
    500: '#42559a',
    950: '#000000',
  },
}
SCSS
$custom: #42559a;
$custom-light: #7d84b8;
$custom-dark: #000000;
JSON
{
  "hex": "#42559a",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 154
  },
  "hsl": {
    "h": 227.045,
    "s": 40,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46907,
    "c": 0.11393,
    "h": 270
  },
  "luminance": 0.09988
}

Semantic roles & 50–950 ramp

primary
#42559A
secondary
#B8AC80
accent
#B658D0
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #42559A

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

Preview Lab → · Contrast checker → · Palette generator →

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