#42597C#42597C

#42597C is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.1% C 0.064 H 258.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#42597C
RGBrgb(66, 89, 124)
HSLhsl(216, 31%, 37%)
HSVhsv(216, 47%, 49%)
CMYKcmyk(46.8%, 28.2%, 0%, 51.4%)
CIE-LABlab(37.40, 1.49, -22.46)
CIE-LCHlch(37.40, 22.51, 273.80°)
OKLaboklab(46.07% -0.0127 -0.0627)
OKLCHoklch(46.07% 0.064 258.6)
XYZxyz(9.4560, 9.7577, 20.4500)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42597C #7C6542
analogous
#42767C #42597C #48427C
triadic
#42597C #7C4259 #597C42
tetradic
#42597C #7C4276 #7C6542 #427C48
square
#42597C #7C4276 #7C6542 #427C48
split-complementary
#42597C #7C4842 #767C42
monochromatic
#17202C #2D3C54 #42597C #5776A4 #7E96BA

Accessibility & contrast

On white

7.11
#42597C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#42597C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42597C
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42597C#FFFFFF#000000##FFFFFF
##42597C1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7E
Deuteranopia (green-blind)
#45567B
Tritanopia (blue-blind)
#2C6165
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #42597c;
/* rgb */ color: rgb(66, 89, 124);
/* oklch */ color: oklch(46.1% 0.064 258.6);
Tailwind
colors: {
  custom: {
    50: '#7987a2',
    500: '#42597c',
    950: '#000000',
  },
}
SCSS
$custom: #42597c;
$custom-light: #7987a2;
$custom-dark: #000000;
JSON
{
  "hex": "#42597c",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 124
  },
  "hsl": {
    "h": 216.207,
    "s": 30.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46065,
    "c": 0.064,
    "h": 258.6
  },
  "luminance": 0.09758
}

Semantic roles & 50–950 ramp

primary
#42597C
secondary
#A59275
accent
#9E61C7
background
#F7F8F9
surface
#EEEFF2
border
#C9CACC
text
#090B0F
muted
#7B7C7E

Preview Lab

Preview with #42597C

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

Preview Lab → · Contrast checker → · Palette generator →

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