#42539B#42539B

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

Color values

HEX#42539B
RGBrgb(66, 83, 155)
HSLhsl(229, 40%, 43%)
HSVhsv(229, 57%, 61%)
CMYKcmyk(57.4%, 46.5%, 0%, 39.2%)
CIE-LABlab(37.32, 15.71, -41.44)
CIE-LCHlch(37.32, 44.32, 290.76°)
OKLaboklab(46.54% 0.0024 -0.1181)
OKLCHoklch(46.54% 0.118 271.2)
XYZxyz(11.2545, 9.7105, 32.2852)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42539B #9B8A42
analogous
#427F9B #42539B #5D429B
triadic
#42539B #9B4253 #539B42
tetradic
#42539B #9B427F #9B8A42 #429B5D
square
#42539B #9B427F #9B8A42 #429B5D
split-complementary
#42539B #9B5D42 #7F9B42
monochromatic
#1D2545 #303C70 #42539B #5F71BB #8A97CD

Accessibility & contrast

On white

7.14
#42539B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42539B
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42539B#FFFFFF#000000##FFFFFF
##42539B1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325C9E
Deuteranopia (green-blind)
#265499
Tritanopia (blue-blind)
#0A636F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #42539b;
/* rgb */ color: rgb(66, 83, 155);
/* oklch */ color: oklch(46.5% 0.118 271.2);
Tailwind
colors: {
  custom: {
    50: '#7e83b9',
    500: '#42539b',
    950: '#000000',
  },
}
SCSS
$custom: #42539b;
$custom-light: #7e83b9;
$custom-dark: #000000;
JSON
{
  "hex": "#42539b",
  "rgb": {
    "r": 66,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 228.539,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46543,
    "c": 0.1181,
    "h": 271.2
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42539B

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

Preview Lab → · Contrast checker → · Palette generator →

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