#42597B#42597B

#42597B is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.0% C 0.063 H 258.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#42597B
RGBrgb(66, 89, 123)
HSLhsl(216, 30%, 37%)
HSVhsv(216, 46%, 48%)
CMYKcmyk(46.3%, 27.6%, 0%, 51.8%)
CIE-LABlab(37.36, 1.18, -21.92)
CIE-LCHlch(37.36, 21.95, 273.07°)
OKLaboklab(46.01% -0.013 -0.0612)
OKLCHoklch(46.01% 0.063 258)
XYZxyz(9.3931, 9.7325, 20.1187)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42597B #7B6442
analogous
#42767B #42597B #47427B
triadic
#42597B #7B4259 #597B42
tetradic
#42597B #7B4276 #7B6442 #427B47
square
#42597B #7B4276 #7B6442 #427B47
split-complementary
#42597B #7B4742 #767B42
monochromatic
#171F2B #2D3C53 #42597B #5776A3 #7E96BA

Accessibility & contrast

On white

7.13
#42597B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42597B
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42597B#FFFFFF#000000##FFFFFF
##42597B1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7D
Deuteranopia (green-blind)
#46557A
Tritanopia (blue-blind)
#2C6065
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #42597b;
/* rgb */ color: rgb(66, 89, 123);
/* oklch */ color: oklch(46.0% 0.063 258.0);
Tailwind
colors: {
  custom: {
    50: '#7987a1',
    500: '#42597b',
    950: '#000000',
  },
}
SCSS
$custom: #42597b;
$custom-light: #7987a1;
$custom-dark: #000000;
JSON
{
  "hex": "#42597b",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 123
  },
  "hsl": {
    "h": 215.789,
    "s": 30.159,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46014,
    "c": 0.06254,
    "h": 258
  },
  "luminance": 0.09733
}

Semantic roles & 50–950 ramp

primary
#42597B
secondary
#A59174
accent
#9E61C6
background
#F7F8F9
surface
#EEEFF2
border
#C9CACC
text
#090B0F
muted
#7B7C7E

Preview Lab

Preview with #42597B

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

Preview Lab → · Contrast checker → · Palette generator →

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