#42597E#42597E

#42597E is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.2% C 0.067 H 259.7°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#42597E
RGBrgb(66, 89, 126)
HSLhsl(217, 31%, 38%)
HSVhsv(217, 48%, 49%)
CMYKcmyk(47.6%, 29.4%, 0%, 50.6%)
CIE-LABlab(37.50, 2.13, -23.54)
CIE-LCHlch(37.50, 23.64, 275.17°)
OKLaboklab(46.17% -0.012 -0.0659)
OKLCHoklch(46.17% 0.067 259.7)
XYZxyz(9.5838, 9.8088, 21.1229)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42597E #7E6742
analogous
#42777E #42597E #49427E
triadic
#42597E #7E4259 #597E42
tetradic
#42597E #7E4277 #7E6742 #427E49
square
#42597E #7E4277 #7E6742 #427E49
split-complementary
#42597E #7E4942 #777E42
monochromatic
#18202E #2D3D56 #42597E #5775A6 #7F96BC

Accessibility & contrast

On white

7.09
#42597E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#42597E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42597E
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42597E#FFFFFF#000000##FFFFFF
##42597E1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5B80
Deuteranopia (green-blind)
#44567D
Tritanopia (blue-blind)
#2A6166
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #42597e;
/* rgb */ color: rgb(66, 89, 126);
/* oklch */ color: oklch(46.2% 0.067 259.7);
Tailwind
colors: {
  custom: {
    50: '#7a87a3',
    500: '#42597e',
    950: '#000000',
  },
}
SCSS
$custom: #42597e;
$custom-light: #7a87a3;
$custom-dark: #000000;
JSON
{
  "hex": "#42597e",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 126
  },
  "hsl": {
    "h": 217,
    "s": 31.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46169,
    "c": 0.06694,
    "h": 259.7
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

primary
#42597E
secondary
#A79475
accent
#A060C7
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090B0F
muted
#7B7C7F

Preview Lab

Preview with #42597E

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

Preview Lab → · Contrast checker → · Palette generator →

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