#42537D#42537D

#42537D is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.073 H 266.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#42537D
RGBrgb(66, 83, 125)
HSLhsl(223, 31%, 37%)
HSVhsv(223, 47%, 49%)
CMYKcmyk(47.2%, 33.6%, 0%, 51%)
CIE-LABlab(35.65, 5.63, -25.82)
CIE-LCHlch(35.65, 26.43, 282.30°)
OKLaboklab(44.71% -0.0042 -0.0724)
OKLCHoklch(44.71% 0.073 266.7)
XYZxyz(9.0405, 8.8249, 20.6251)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42537D #7D6C42
analogous
#42707D #42537D #4F427D
triadic
#42537D #7D4253 #537D42
tetradic
#42537D #7D4270 #7D6C42 #427D4F
square
#42537D #7D4270 #7D6C42 #427D4F
split-complementary
#42537D #7D4F42 #707D42
monochromatic
#181E2D #2D3855 #42537D #576EA5 #7E90BB

Accessibility & contrast

On white

7.59
#42537D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#42537D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42537D
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42537D#FFFFFF#000000##FFFFFF
##42537D1.007.592.767.59
#FFFFFF7.591.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44577F
Deuteranopia (green-blind)
#3E517C
Tritanopia (blue-blind)
#2C5C62
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #42537d;
/* rgb */ color: rgb(66, 83, 125);
/* oklch */ color: oklch(44.7% 0.073 266.7);
Tailwind
colors: {
  custom: {
    50: '#7983a3',
    500: '#42537d',
    950: '#000000',
  },
}
SCSS
$custom: #42537d;
$custom-light: #7983a3;
$custom-dark: #000000;
JSON
{
  "hex": "#42537d",
  "rgb": {
    "r": 66,
    "g": 83,
    "b": 125
  },
  "hsl": {
    "h": 222.712,
    "s": 30.89,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4471,
    "c": 0.07256,
    "h": 266.7
  },
  "luminance": 0.08825
}

Semantic roles & 50–950 ramp

primary
#42537D
secondary
#A69875
accent
#AA61C7
background
#F7F7FA
surface
#EEEEF3
border
#C9C9CD
text
#090A0F
muted
#7B7C7F

Preview Lab

Preview with #42537D

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

Preview Lab → · Contrast checker → · Palette generator →

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