#42489E#42489E

#42489E is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.5% C 0.138 H 276.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#42489E
RGBrgb(66, 72, 158)
HSLhsl(236, 41%, 44%)
HSVhsv(236, 58%, 62%)
CMYKcmyk(58.2%, 54.4%, 0%, 38%)
CIE-LABlab(34.52, 23.92, -47.74)
CIE-LCHlch(34.52, 53.40, 296.61°)
OKLaboklab(44.49% 0.015 -0.1367)
OKLCHoklch(44.49% 0.138 276.3)
XYZxyz(10.7337, 8.2608, 33.3700)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42489E #9E9842
analogous
#42769E #42489E #6A429E
triadic
#42489E #9E4248 #489E42
tetradic
#42489E #9E4276 #9E9842 #429E6A
square
#42489E #9E4276 #9E9842 #429E6A
split-complementary
#42489E #9E6A42 #769E42
monochromatic
#1E2148 #303473 #42489E #6066BD #8C90CF

Accessibility & contrast

On white

7.92
#42489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42489E
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42489E#FFFFFF#000000##FFFFFF
##42489E1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1355A1
Deuteranopia (green-blind)
#004D9C
Tritanopia (blue-blind)
#085C6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #42489e;
/* rgb */ color: rgb(66, 72, 158);
/* oklch */ color: oklch(44.5% 0.138 276.3);
Tailwind
colors: {
  custom: {
    50: '#7f7abb',
    500: '#42489e',
    950: '#000000',
  },
}
SCSS
$custom: #42489e;
$custom-light: #7f7abb;
$custom-dark: #000000;
JSON
{
  "hex": "#42489e",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 236.087,
    "s": 41.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44491,
    "c": 0.13753,
    "h": 276.3
  },
  "luminance": 0.08262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42489E

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

Preview Lab → · Contrast checker → · Palette generator →

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