#42598E#42598E

#42598E is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.1% C 0.091 H 265.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#42598E
RGBrgb(66, 89, 142)
HSLhsl(222, 37%, 41%)
HSVhsv(222, 54%, 56%)
CMYKcmyk(53.5%, 37.3%, 0%, 44.3%)
CIE-LABlab(38.30, 7.39, -32.04)
CIE-LCHlch(38.30, 32.88, 282.99°)
OKLaboklab(47.05% -0.0074 -0.0905)
OKLCHoklch(47.05% 0.091 265.3)
XYZxyz(10.7000, 10.2552, 27.0016)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42598E #8E7742
analogous
#427F8E #42598E #51428E
triadic
#42598E #8E4259 #598E42
tetradic
#42598E #8E427F #8E7742 #428E51
square
#42598E #8E427F #8E7742 #428E51
split-complementary
#42598E #8E5142 #7F8E42
monochromatic
#1B253A #2F3F64 #42598E #5B75B3 #8498C6

Accessibility & contrast

On white

6.88
#42598E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#42598E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42598E
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42598E#FFFFFF#000000##FFFFFF
##42598E1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E90
Deuteranopia (green-blind)
#3B578D
Tritanopia (blue-blind)
#1D646D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #42598e;
/* rgb */ color: rgb(66, 89, 142);
/* oklch */ color: oklch(47.1% 0.091 265.3);
Tailwind
colors: {
  custom: {
    50: '#7c87af',
    500: '#42598e',
    950: '#000000',
  },
}
SCSS
$custom: #42598e;
$custom-light: #7c87af;
$custom-dark: #000000;
JSON
{
  "hex": "#42598e",
  "rgb": {
    "r": 66,
    "g": 89,
    "b": 142
  },
  "hsl": {
    "h": 221.842,
    "s": 36.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47053,
    "c": 0.09079,
    "h": 265.3
  },
  "luminance": 0.10256
}

Semantic roles & 50–950 ramp

primary
#42598E
secondary
#B1A17B
accent
#AA5BCD
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#0A0B10
muted
#7C7C7F

Preview Lab

Preview with #42598E

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

Preview Lab → · Contrast checker → · Palette generator →

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