#42559C#42559C

#42559C is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.0% C 0.117 H 270.1°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#42559C
RGBrgb(66, 85, 156)
HSLhsl(227, 41%, 44%)
HSVhsv(227, 58%, 61%)
CMYKcmyk(57.7%, 45.5%, 0%, 38.8%)
CIE-LABlab(37.94, 14.75, -41.04)
CIE-LCHlch(37.94, 43.62, 289.77°)
OKLaboklab(47.04% 0.0003 -0.1169)
OKLCHoklch(47.04% 0.117 270.1)
XYZxyz(11.4940, 10.0547, 32.7811)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42559C #9C8942
analogous
#42829C #42559C #5C429C
triadic
#42559C #9C4255 #559C42
tetradic
#42559C #9C4282 #9C8942 #429C5C
square
#42559C #9C4282 #9C8942 #429C5C
split-complementary
#42559C #9C5C42 #829C42
monochromatic
#1E2646 #303E71 #42559C #6073BC #8B99CE

Accessibility & contrast

On white

6.97
#42559C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#42559C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42559C
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42559C#FFFFFF#000000##FFFFFF
##42559C1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355D9F
Deuteranopia (green-blind)
#29569A
Tritanopia (blue-blind)
#076571
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #42559c;
/* rgb */ color: rgb(66, 85, 156);
/* oklch */ color: oklch(47.0% 0.117 270.1);
Tailwind
colors: {
  custom: {
    50: '#7e84ba',
    500: '#42559c',
    950: '#000000',
  },
}
SCSS
$custom: #42559c;
$custom-light: #7e84ba;
$custom-dark: #000000;
JSON
{
  "hex": "#42559c",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 156
  },
  "hsl": {
    "h": 227.333,
    "s": 40.541,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47038,
    "c": 0.11689,
    "h": 270.1
  },
  "luminance": 0.10056
}

Semantic roles & 50–950 ramp

primary
#42559C
secondary
#B9AD81
accent
#B757D0
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #42559C

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

Preview Lab → · Contrast checker → · Palette generator →

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