#42597D#42597D

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

Color values

HEX#42597D
RGBrgb(66, 89, 125)
HSLhsl(217, 31%, 37%)
HSVhsv(217, 47%, 49%)
CMYKcmyk(47.2%, 28.8%, 0%, 51%)
CIE-LABlab(37.45, 1.81, -23.00)
CIE-LCHlch(37.45, 23.07, 274.50°)
OKLaboklab(46.12% -0.0123 -0.0643)
OKLCHoklch(46.12% 0.065 259.1)
XYZxyz(9.5196, 9.7831, 20.7848)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42597D #7D6642
analogous
#42777D #42597D #48427D
triadic
#42597D #7D4259 #597D42
tetradic
#42597D #7D4277 #7D6642 #427D48
square
#42597D #7D4277 #7D6642 #427D48
split-complementary
#42597D #7D4842 #777D42
monochromatic
#18202D #2D3C55 #42597D #5776A5 #7E96BB

Accessibility & contrast

On white

7.10
#42597D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42597D
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42597D#FFFFFF#000000##FFFFFF
##42597D1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7F
Deuteranopia (green-blind)
#45567C
Tritanopia (blue-blind)
#2B6166
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #42597d;
/* rgb */ color: rgb(66, 89, 125);
/* oklch */ color: oklch(46.1% 0.065 259.1);
Tailwind
colors: {
  custom: {
    50: '#7987a2',
    500: '#42597d',
    950: '#000000',
  },
}
SCSS
$custom: #42597d;
$custom-light: #7987a2;
$custom-dark: #000000;
JSON
{
  "hex": "#42597d",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 125
  },
  "hsl": {
    "h": 216.61,
    "s": 30.89,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46117,
    "c": 0.06546,
    "h": 259.1
  },
  "luminance": 0.09784
}

Semantic roles & 50–950 ramp

primary
#42597D
secondary
#A69375
accent
#9F61C7
background
#F7F8FA
surface
#EEEFF3
border
#C9CACD
text
#090B0F
muted
#7B7C7F

Preview Lab

Preview with #42597D

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

Preview Lab → · Contrast checker → · Palette generator →

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