#42489B#42489B

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

Color values

HEX#42489B
RGBrgb(66, 72, 155)
HSLhsl(236, 40%, 43%)
HSVhsv(236, 57%, 61%)
CMYKcmyk(57.4%, 53.5%, 0%, 39.2%)
CIE-LABlab(34.31, 22.89, -46.26)
CIE-LCHlch(34.31, 51.62, 296.32°)
OKLaboklab(44.27% 0.0148 -0.1324)
OKLCHoklch(44.27% 0.133 276.4)
XYZxyz(10.4786, 8.1588, 32.0266)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42489B #9B9542
analogous
#42749B #42489B #68429B
triadic
#42489B #9B4248 #489B42
tetradic
#42489B #9B4274 #9B9542 #429B68
square
#42489B #9B4274 #9B9542 #429B68
split-complementary
#42489B #9B6842 #749B42
monochromatic
#1D2045 #303470 #42489B #5F65BB #8A8FCD

Accessibility & contrast

On white

7.98
#42489B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42489B
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42489B#FFFFFF#000000##FFFFFF
##42489B1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18549E
Deuteranopia (green-blind)
#034D99
Tritanopia (blue-blind)
#0F5B6A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #42489b;
/* rgb */ color: rgb(66, 72, 155);
/* oklch */ color: oklch(44.3% 0.133 276.4);
Tailwind
colors: {
  custom: {
    50: '#7e7ab9',
    500: '#42489b',
    950: '#000000',
  },
}
SCSS
$custom: #42489b;
$custom-light: #7e7ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#42489b",
  "rgb": {
    "r": 66,
    "g": 72,
    "b": 155
  },
  "hsl": {
    "h": 235.955,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44267,
    "c": 0.1332,
    "h": 276.4
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#42489B
secondary
#B8B481
accent
#C858D0
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #42489B

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

Preview Lab → · Contrast checker → · Palette generator →

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