#42419B#42419B

#42419B is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.143 H 279.0°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#42419B
RGBrgb(66, 65, 155)
HSLhsl(241, 41%, 43%)
HSVhsv(241, 58%, 61%)
CMYKcmyk(57.4%, 58.1%, 0%, 39.2%)
CIE-LABlab(32.49, 27.44, -49.21)
CIE-LCHlch(32.49, 56.34, 299.14°)
OKLaboklab(42.91% 0.0224 -0.1411)
OKLCHoklch(42.91% 0.143 279)
XYZxyz(10.0516, 7.3047, 31.8843)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42419B #9A9B41
analogous
#416D9B #42419B #6F419B
triadic
#42419B #9B4241 #419B42
tetradic
#42419B #9B416D #9A9B41 #419B6F
square
#42419B #9B416D #9A9B41 #419B6F
split-complementary
#42419B #9B6F41 #6D9B41
monochromatic
#1D1D45 #302F70 #42419B #5F5EBB #8A89CD

Accessibility & contrast

On white

8.53
#42419B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#42419B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42419B
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42419B#FFFFFF#000000##FFFFFF
##42419B1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#115667
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #42419b;
/* rgb */ color: rgb(66, 65, 155);
/* oklch */ color: oklch(42.9% 0.143 279.0);
Tailwind
colors: {
  custom: {
    50: '#7f75b9',
    500: '#42419b',
    950: '#000000',
  },
}
SCSS
$custom: #42419b;
$custom-light: #7f75b9;
$custom-dark: #000000;
JSON
{
  "hex": "#42419b",
  "rgb": {
    "r": 66,
    "g": 65,
    "b": 155
  },
  "hsl": {
    "h": 240.667,
    "s": 40.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42909,
    "c": 0.14285,
    "h": 279
  },
  "luminance": 0.07305
}

Semantic roles & 50–950 ramp

primary
#42419B
secondary
#B8B880
accent
#D157CF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #42419B

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

Preview Lab → · Contrast checker → · Palette generator →

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