#42529C#42529C

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

Color values

HEX#42529C
RGBrgb(66, 82, 156)
HSLhsl(229, 41%, 44%)
HSVhsv(229, 58%, 61%)
CMYKcmyk(57.7%, 47.4%, 0%, 38.8%)
CIE-LABlab(37.10, 16.71, -42.39)
CIE-LCHlch(37.10, 45.56, 291.51°)
OKLaboklab(46.4% 0.0037 -0.1209)
OKLCHoklch(46.4% 0.121 271.8)
XYZxyz(11.2628, 9.5923, 32.7040)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42529C #9C8C42
analogous
#427F9C #42529C #5F429C
triadic
#42529C #9C4252 #529C42
tetradic
#42529C #9C427F #9C8C42 #429C5F
square
#42529C #9C427F #9C8C42 #429C5F
split-complementary
#42529C #9C5F42 #7F9C42
monochromatic
#1E2546 #303B71 #42529C #6070BC #8B97CE

Accessibility & contrast

On white

7.20
#42529C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#42529C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42529C
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42529C#FFFFFF#000000##FFFFFF
##42529C1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305B9F
Deuteranopia (green-blind)
#23549A
Tritanopia (blue-blind)
#08626F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #42529c;
/* rgb */ color: rgb(66, 82, 156);
/* oklch */ color: oklch(46.4% 0.121 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e82ba',
    500: '#42529c',
    950: '#000000',
  },
}
SCSS
$custom: #42529c;
$custom-light: #7e82ba;
$custom-dark: #000000;
JSON
{
  "hex": "#42529c",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 156
  },
  "hsl": {
    "h": 229.333,
    "s": 40.541,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46397,
    "c": 0.12092,
    "h": 271.8
  },
  "luminance": 0.09593
}

Semantic roles & 50–950 ramp

primary
#42529C
secondary
#B9AF81
accent
#BB57D0
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #42529C

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

Preview Lab → · Contrast checker → · Palette generator →

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