#42489A#42489A

#42489A is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.132 H 276.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#42489A
RGBrgb(66, 72, 154)
HSLhsl(236, 40%, 43%)
HSVhsv(236, 57%, 60%)
CMYKcmyk(57.1%, 53.2%, 0%, 39.6%)
CIE-LABlab(34.24, 22.55, -45.77)
CIE-LCHlch(34.24, 51.02, 296.23°)
OKLaboklab(44.19% 0.0148 -0.1309)
OKLCHoklch(44.19% 0.132 276.4)
XYZxyz(10.3950, 8.1254, 31.5862)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42489A #9A9442
analogous
#42749A #42489A #68429A
triadic
#42489A #9A4248 #489A42
tetradic
#42489A #9A4274 #9A9442 #429A68
square
#42489A #9A4274 #9A9442 #429A68
split-complementary
#42489A #9A6842 #749A42
monochromatic
#1D2044 #30346F #42489A #5F65BA #8A8ECD

Accessibility & contrast

On white

8.00
#42489A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#42489A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42489A
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42489A#FFFFFF#000000##FFFFFF
##42489A1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A549D
Deuteranopia (green-blind)
#074D98
Tritanopia (blue-blind)
#115B6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #42489a;
/* rgb */ color: rgb(66, 72, 154);
/* oklch */ color: oklch(44.2% 0.132 276.4);
Tailwind
colors: {
  custom: {
    50: '#7e7ab8',
    500: '#42489a',
    950: '#000000',
  },
}
SCSS
$custom: #42489a;
$custom-light: #7e7ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#42489a",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 154
  },
  "hsl": {
    "h": 235.909,
    "s": 40,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44194,
    "c": 0.13175,
    "h": 276.4
  },
  "luminance": 0.08126
}

Semantic roles & 50–950 ramp

primary
#42489A
secondary
#B8B480
accent
#C858D0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #42489A

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

Preview Lab → · Contrast checker → · Palette generator →

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