#42529B#42529B

#42529B is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.3% C 0.119 H 271.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#42529B
RGBrgb(66, 82, 155)
HSLhsl(229, 40%, 43%)
HSVhsv(229, 57%, 61%)
CMYKcmyk(57.4%, 47.1%, 0%, 39.2%)
CIE-LABlab(37.04, 16.36, -41.89)
CIE-LCHlch(37.04, 44.97, 291.33°)
OKLaboklab(46.33% 0.0036 -0.1194)
OKLCHoklch(46.33% 0.119 271.7)
XYZxyz(11.1785, 9.5586, 32.2599)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42529B #9B8B42
analogous
#427E9B #42529B #5E429B
triadic
#42529B #9B4252 #529B42
tetradic
#42529B #9B427E #9B8B42 #429B5E
square
#42529B #9B427E #9B8B42 #429B5E
split-complementary
#42529B #9B5E42 #7E9B42
monochromatic
#1D2545 #303B70 #42529B #5F70BB #8A96CD

Accessibility & contrast

On white

7.21
#42529B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#42529B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42529B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42529B#FFFFFF#000000##FFFFFF
##42529B1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305B9E
Deuteranopia (green-blind)
#245399
Tritanopia (blue-blind)
#0B626F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #42529b;
/* rgb */ color: rgb(66, 82, 155);
/* oklch */ color: oklch(46.3% 0.119 271.7);
Tailwind
colors: {
  custom: {
    50: '#7e82b9',
    500: '#42529b',
    950: '#000000',
  },
}
SCSS
$custom: #42529b;
$custom-light: #7e82b9;
$custom-dark: #000000;
JSON
{
  "hex": "#42529b",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 155
  },
  "hsl": {
    "h": 229.213,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46329,
    "c": 0.11944,
    "h": 271.7
  },
  "luminance": 0.09559
}

Semantic roles & 50–950 ramp

primary
#42529B
secondary
#B8AE81
accent
#BA58D0
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #42529B

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

Preview Lab → · Contrast checker → · Palette generator →

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