#42557D#42557D

#42557D is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.2% C 0.070 H 264.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#42557D
RGBrgb(66, 85, 125)
HSLhsl(221, 31%, 37%)
HSVhsv(221, 47%, 49%)
CMYKcmyk(47.2%, 32%, 0%, 51%)
CIE-LABlab(36.24, 4.35, -24.88)
CIE-LCHlch(36.24, 25.26, 279.91°)
OKLaboklab(45.18% -0.0069 -0.0697)
OKLCHoklch(45.18% 0.07 264.3)
XYZxyz(9.1957, 9.1354, 20.6768)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42557D #7D6A42
analogous
#42727D #42557D #4D427D
triadic
#42557D #7D4255 #557D42
tetradic
#42557D #7D4272 #7D6A42 #427D4D
square
#42557D #7D4272 #7D6A42 #427D4D
split-complementary
#42557D #7D4D42 #727D42
monochromatic
#181F2D #2D3A55 #42557D #5770A5 #7E92BB

Accessibility & contrast

On white

7.43
#42557D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#42557D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42557D
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42557D#FFFFFF#000000##FFFFFF
##42557D1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46587F
Deuteranopia (green-blind)
#40537C
Tritanopia (blue-blind)
#2C5D63
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #42557d;
/* rgb */ color: rgb(66, 85, 125);
/* oklch */ color: oklch(45.2% 0.070 264.3);
Tailwind
colors: {
  custom: {
    50: '#7984a3',
    500: '#42557d',
    950: '#000000',
  },
}
SCSS
$custom: #42557d;
$custom-light: #7984a3;
$custom-dark: #000000;
JSON
{
  "hex": "#42557d",
  "rgb": {
    "r": 66,
    "g": 85,
    "b": 125
  },
  "hsl": {
    "h": 220.678,
    "s": 30.89,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45176,
    "c": 0.07007,
    "h": 264.3
  },
  "luminance": 0.09136
}

Semantic roles & 50–950 ramp

primary
#42557D
secondary
#A69675
accent
#A661C7
background
#F7F8FA
surface
#EEEFF3
border
#C9CACD
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #42557D

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

Preview Lab → · Contrast checker → · Palette generator →

#42557D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva