#42539D#42539D

#42539D is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.121 H 271.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#42539D
RGBrgb(66, 83, 157)
HSLhsl(229, 41%, 44%)
HSVhsv(229, 58%, 62%)
CMYKcmyk(58%, 47.1%, 0%, 38.4%)
CIE-LABlab(37.44, 16.40, -42.44)
CIE-LCHlch(37.44, 45.50, 291.13°)
OKLaboklab(46.68% 0.0027 -0.121)
OKLCHoklch(46.68% 0.121 271.3)
XYZxyz(11.4238, 9.7782, 33.1771)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42539D #9D8C42
analogous
#42809D #42539D #5E429D
triadic
#42539D #9D4253 #539D42
tetradic
#42539D #9D4280 #9D8C42 #429D5E
square
#42539D #9D4280 #9D8C42 #429D5E
split-complementary
#42539D #9D5E42 #809D42
monochromatic
#1E2547 #303C72 #42539D #6071BC #8B98CE

Accessibility & contrast

On white

7.10
#42539D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#42539D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42539D
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42539D#FFFFFF#000000##FFFFFF
##42539D1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315CA0
Deuteranopia (green-blind)
#24549B
Tritanopia (blue-blind)
#056370
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #42539d;
/* rgb */ color: rgb(66, 83, 157);
/* oklch */ color: oklch(46.7% 0.121 271.3);
Tailwind
colors: {
  custom: {
    50: '#7e83ba',
    500: '#42539d',
    950: '#000000',
  },
}
SCSS
$custom: #42539d;
$custom-light: #7e83ba;
$custom-dark: #000000;
JSON
{
  "hex": "#42539d",
  "rgb": {
    "r": 66,
    "g": 83,
    "b": 157
  },
  "hsl": {
    "h": 228.791,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46677,
    "c": 0.12104,
    "h": 271.3
  },
  "luminance": 0.09779
}

Semantic roles & 50–950 ramp

primary
#42539D
secondary
#B9AF82
accent
#BA57D1
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #42539D

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

Preview Lab → · Contrast checker → · Palette generator →

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