#42539A#42539A

#42539A is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.5% C 0.117 H 271.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#42539A
RGBrgb(66, 83, 154)
HSLhsl(228, 40%, 43%)
HSVhsv(228, 57%, 60%)
CMYKcmyk(57.1%, 46.1%, 0%, 39.6%)
CIE-LABlab(37.26, 15.36, -40.94)
CIE-LCHlch(37.26, 43.72, 290.57°)
OKLaboklab(46.48% 0.0023 -0.1166)
OKLCHoklch(46.48% 0.117 271.1)
XYZxyz(11.1708, 9.6770, 31.8448)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42539A #9A8942
analogous
#427F9A #42539A #5D429A
triadic
#42539A #9A4253 #539A42
tetradic
#42539A #9A427F #9A8942 #429A5D
square
#42539A #9A427F #9A8942 #429A5D
split-complementary
#42539A #9A5D42 #7F9A42
monochromatic
#1D2544 #303C6F #42539A #5F71BA #8A97CD

Accessibility & contrast

On white

7.15
#42539A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#42539A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42539A
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42539A#FFFFFF#000000##FFFFFF
##42539A1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335C9D
Deuteranopia (green-blind)
#285498
Tritanopia (blue-blind)
#0D636F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #42539a;
/* rgb */ color: rgb(66, 83, 154);
/* oklch */ color: oklch(46.5% 0.117 271.1);
Tailwind
colors: {
  custom: {
    50: '#7e83b8',
    500: '#42539a',
    950: '#000000',
  },
}
SCSS
$custom: #42539a;
$custom-light: #7e83b8;
$custom-dark: #000000;
JSON
{
  "hex": "#42539a",
  "rgb": {
    "r": 66,
    "g": 83,
    "b": 154
  },
  "hsl": {
    "h": 228.409,
    "s": 40,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46476,
    "c": 0.11661,
    "h": 271.1
  },
  "luminance": 0.09678
}

Semantic roles & 50–950 ramp

primary
#42539A
secondary
#B8AD80
accent
#B958D0
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #42539A

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

Preview Lab → · Contrast checker → · Palette generator →

#42539A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva