#424786#424786

#424786 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.6% C 0.103 H 277.6°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#424786
RGBrgb(66, 71, 134)
HSLhsl(236, 34%, 39%)
HSVhsv(236, 51%, 53%)
CMYKcmyk(50.7%, 47%, 0%, 47.5%)
CIE-LABlab(32.67, 16.43, -36.08)
CIE-LCHlch(32.67, 39.64, 294.49°)
OKLaboklab(42.59% 0.0137 -0.1024)
OKLCHoklch(42.59% 0.103 277.6)
XYZxyz(8.8017, 7.3855, 23.5114)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424786 #868142
analogous
#426986 #424786 #5F4286
triadic
#424786 #864247 #478642
tetradic
#424786 #864269 #868142 #42865F
square
#424786 #864269 #868142 #42865F
split-complementary
#424786 #865F42 #698642
monochromatic
#1A1C34 #2E315D #424786 #585FAD #8186C1

Accessibility & contrast

On white

8.48
#424786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#424786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424786
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424786#FFFFFF#000000##FFFFFF
##4247861.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5088
Deuteranopia (green-blind)
#274A85
Tritanopia (blue-blind)
#285460
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #424786;
/* rgb */ color: rgb(66, 71, 134);
/* oklch */ color: oklch(42.6% 0.103 277.6);
Tailwind
colors: {
  custom: {
    50: '#7b7aa9',
    500: '#424786',
    950: '#000000',
  },
}
SCSS
$custom: #424786;
$custom-light: #7b7aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#424786",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 235.588,
    "s": 34,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42586,
    "c": 0.10336,
    "h": 277.6
  },
  "luminance": 0.07386
}

Semantic roles & 50–950 ramp

primary
#424786
secondary
#ACA878
accent
#C25ECA
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #424786

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

Preview Lab → · Contrast checker → · Palette generator →

#424786 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva