#42489C#42489C

#42489C is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.135 H 276.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#42489C
RGBrgb(66, 72, 156)
HSLhsl(236, 41%, 44%)
HSVhsv(236, 58%, 61%)
CMYKcmyk(57.7%, 53.8%, 0%, 38.8%)
CIE-LABlab(34.38, 23.23, -46.76)
CIE-LCHlch(34.38, 52.21, 296.42°)
OKLaboklab(44.34% 0.0149 -0.1338)
OKLCHoklch(44.34% 0.135 276.3)
XYZxyz(10.5630, 8.1925, 32.4707)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42489C #9C9642
analogous
#42759C #42489C #69429C
triadic
#42489C #9C4248 #489C42
tetradic
#42489C #9C4275 #9C9642 #429C69
square
#42489C #9C4275 #9C9642 #429C69
split-complementary
#42489C #9C6942 #759C42
monochromatic
#1E2046 #303471 #42489C #6066BC #8B8FCE

Accessibility & contrast

On white

7.96
#42489C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#42489C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42489C
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42489C#FFFFFF#000000##FFFFFF
##42489C1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17559F
Deuteranopia (green-blind)
#004D9A
Tritanopia (blue-blind)
#0D5B6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #42489c;
/* rgb */ color: rgb(66, 72, 156);
/* oklch */ color: oklch(44.3% 0.135 276.3);
Tailwind
colors: {
  custom: {
    50: '#7e7aba',
    500: '#42489c',
    950: '#000000',
  },
}
SCSS
$custom: #42489c;
$custom-light: #7e7aba;
$custom-dark: #000000;
JSON
{
  "hex": "#42489c",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 236,
    "s": 40.541,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44341,
    "c": 0.13464,
    "h": 276.3
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#42489C
secondary
#B9B581
accent
#C857D0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #42489C

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

Preview Lab → · Contrast checker → · Palette generator →

#42489C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva