#42528E#42528E

#42528E is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.5% C 0.100 H 270.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#42528E
RGBrgb(66, 82, 142)
HSLhsl(227, 37%, 41%)
HSVhsv(227, 54%, 56%)
CMYKcmyk(53.5%, 42.3%, 0%, 44.3%)
CIE-LABlab(36.26, 11.91, -35.26)
CIE-LCHlch(36.26, 37.22, 288.66°)
OKLaboklab(45.49% 0.0013 -0.0999)
OKLCHoklch(45.49% 0.1 270.7)
XYZxyz(10.1450, 9.1451, 26.8165)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42528E #8E7E42
analogous
#42788E #42528E #58428E
triadic
#42528E #8E4252 #528E42
tetradic
#42528E #8E4278 #8E7E42 #428E58
square
#42528E #8E4278 #8E7E42 #428E58
split-complementary
#42528E #8E5842 #788E42
monochromatic
#1B223A #2F3A64 #42528E #5B6DB3 #8492C6

Accessibility & contrast

On white

7.42
#42528E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#42528E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42528E
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42528E#FFFFFF#000000##FFFFFF
##42528E1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5990
Deuteranopia (green-blind)
#31528D
Tritanopia (blue-blind)
#1F5F69
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #42528e;
/* rgb */ color: rgb(66, 82, 142);
/* oklch */ color: oklch(45.5% 0.100 270.7);
Tailwind
colors: {
  custom: {
    50: '#7c82af',
    500: '#42528e',
    950: '#000000',
  },
}
SCSS
$custom: #42528e;
$custom-light: #7c82af;
$custom-dark: #000000;
JSON
{
  "hex": "#42528e",
  "rgb": {
    "r": 66,
    "g": 82,
    "b": 142
  },
  "hsl": {
    "h": 227.368,
    "s": 36.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45485,
    "c": 0.09996,
    "h": 270.7
  },
  "luminance": 0.09146
}

Semantic roles & 50–950 ramp

primary
#42528E
secondary
#B1A57B
accent
#B55BCD
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #42528E

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

Preview Lab → · Contrast checker → · Palette generator →

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