#42459E#42459E

#42459E is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.142 H 277.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#42459E
RGBrgb(66, 69, 158)
HSLhsl(238, 41%, 44%)
HSVhsv(238, 58%, 62%)
CMYKcmyk(58.2%, 56.3%, 0%, 38%)
CIE-LABlab(33.74, 25.87, -49.01)
CIE-LCHlch(33.74, 55.41, 297.83°)
OKLaboklab(43.91% 0.0182 -0.1405)
OKLCHoklch(43.91% 0.142 277.4)
XYZxyz(10.5445, 7.8824, 33.3069)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42459E #9E9B42
analogous
#42739E #42459E #6D429E
triadic
#42459E #9E4245 #459E42
tetradic
#42459E #9E4273 #9E9B42 #429E6D
square
#42459E #9E4273 #9E9B42 #429E6D
split-complementary
#42459E #9E6D42 #739E42
monochromatic
#1E1F48 #303273 #42459E #6063BD #8C8ECF

Accessibility & contrast

On white

8.15
#42459E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#42459E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42459E
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42459E#FFFFFF#000000##FFFFFF
##42459E1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0353A1
Deuteranopia (green-blind)
#004C9C
Tritanopia (blue-blind)
#095A6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #42459e;
/* rgb */ color: rgb(66, 69, 158);
/* oklch */ color: oklch(43.9% 0.142 277.4);
Tailwind
colors: {
  custom: {
    50: '#7f78bb',
    500: '#42459e',
    950: '#000000',
  },
}
SCSS
$custom: #42459e;
$custom-light: #7f78bb;
$custom-dark: #000000;
JSON
{
  "hex": "#42459e",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 238.043,
    "s": 41.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43905,
    "c": 0.14163,
    "h": 277.4
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#42459E
secondary
#BAB882
accent
#CD57D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #42459E

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

Preview Lab → · Contrast checker → · Palette generator →

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