#42489D#42489D

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

Color values

HEX#42489D
RGBrgb(66, 72, 157)
HSLhsl(236, 41%, 44%)
HSVhsv(236, 58%, 62%)
CMYKcmyk(58%, 54.1%, 0%, 38.4%)
CIE-LABlab(34.45, 23.58, -47.25)
CIE-LCHlch(34.45, 52.80, 296.52°)
OKLaboklab(44.42% 0.0149 -0.1353)
OKLCHoklch(44.42% 0.136 276.3)
XYZxyz(10.6480, 8.2265, 32.9185)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42489D #9D9742
analogous
#42759D #42489D #69429D
triadic
#42489D #9D4248 #489D42
tetradic
#42489D #9D4275 #9D9742 #429D69
square
#42489D #9D4275 #9D9742 #429D69
split-complementary
#42489D #9D6942 #759D42
monochromatic
#1E2047 #303472 #42489D #6066BC #8B90CE

Accessibility & contrast

On white

7.94
#42489D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#42489D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42489D
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42489D#FFFFFF#000000##FFFFFF
##42489D1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1555A0
Deuteranopia (green-blind)
#004D9B
Tritanopia (blue-blind)
#0A5B6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #42489d;
/* rgb */ color: rgb(66, 72, 157);
/* oklch */ color: oklch(44.4% 0.136 276.3);
Tailwind
colors: {
  custom: {
    50: '#7f7aba',
    500: '#42489d',
    950: '#000000',
  },
}
SCSS
$custom: #42489d;
$custom-light: #7f7aba;
$custom-dark: #000000;
JSON
{
  "hex": "#42489d",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 236.044,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44416,
    "c": 0.13609,
    "h": 276.3
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

primary
#42489D
secondary
#B9B682
accent
#C957D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #42489D

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

Preview Lab → · Contrast checker → · Palette generator →

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