#42529D#42529D

#42529D is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.122 H 271.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#42529D
RGBrgb(66, 82, 157)
HSLhsl(229, 41%, 44%)
HSVhsv(229, 58%, 62%)
CMYKcmyk(58%, 47.8%, 0%, 38.4%)
CIE-LABlab(37.16, 17.05, -42.89)
CIE-LCHlch(37.16, 46.15, 291.68°)
OKLaboklab(46.47% 0.0039 -0.1223)
OKLCHoklch(46.47% 0.122 271.8)
XYZxyz(11.3479, 9.6263, 33.1518)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42529D #9D8D42
analogous
#427F9D #42529D #5F429D
triadic
#42529D #9D4252 #529D42
tetradic
#42529D #9D427F #9D8D42 #429D5F
square
#42529D #9D427F #9D8D42 #429D5F
split-complementary
#42529D #9D5F42 #7F9D42
monochromatic
#1E2547 #303B72 #42529D #6070BC #8B97CE

Accessibility & contrast

On white

7.18
#42529D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#42529D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42529D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42529D#FFFFFF#000000##FFFFFF
##42529D1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA0
Deuteranopia (green-blind)
#22549B
Tritanopia (blue-blind)
#056370
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #42529d;
/* rgb */ color: rgb(66, 82, 157);
/* oklch */ color: oklch(46.5% 0.122 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e82ba',
    500: '#42529d',
    950: '#000000',
  },
}
SCSS
$custom: #42529d;
$custom-light: #7e82ba;
$custom-dark: #000000;
JSON
{
  "hex": "#42529d",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 157
  },
  "hsl": {
    "h": 229.451,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46465,
    "c": 0.12239,
    "h": 271.8
  },
  "luminance": 0.09627
}

Semantic roles & 50–950 ramp

primary
#42529D
secondary
#B9AF82
accent
#BB57D1
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #42529D

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

Preview Lab → · Contrast checker → · Palette generator →

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