#42489F#42489F

#42489F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.139 H 276.2°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#42489F
RGBrgb(66, 72, 159)
HSLhsl(236, 41%, 44%)
HSVhsv(236, 58%, 62%)
CMYKcmyk(58.5%, 54.7%, 0%, 37.6%)
CIE-LABlab(34.59, 24.26, -48.23)
CIE-LCHlch(34.59, 53.99, 296.71°)
OKLaboklab(44.57% 0.0151 -0.1381)
OKLCHoklch(44.57% 0.139 276.2)
XYZxyz(10.8201, 8.2954, 33.8252)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42489F #9F9942
analogous
#42779F #42489F #6B429F
triadic
#42489F #9F4248 #489F42
tetradic
#42489F #9F4277 #9F9942 #429F6B
square
#42489F #9F4277 #9F9942 #429F6B
split-complementary
#42489F #9F6B42 #779F42
monochromatic
#1E2149 #303474 #42489F #6167BD #8C90CF

Accessibility & contrast

On white

7.90
#42489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#42489F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42489F
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42489F#FFFFFF#000000##FFFFFF
##42489F1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1155A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#055C6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #42489f;
/* rgb */ color: rgb(66, 72, 159);
/* oklch */ color: oklch(44.6% 0.139 276.2);
Tailwind
colors: {
  custom: {
    50: '#7f7bbc',
    500: '#42489f',
    950: '#000000',
  },
}
SCSS
$custom: #42489f;
$custom-light: #7f7bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#42489f",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 236.129,
    "s": 41.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44566,
    "c": 0.13897,
    "h": 276.2
  },
  "luminance": 0.08296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42489F

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

Preview Lab → · Contrast checker → · Palette generator →

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