#424797#424797

#424797 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.129 H 277.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#424797
RGBrgb(66, 71, 151)
HSLhsl(236, 39%, 43%)
HSVhsv(236, 56%, 59%)
CMYKcmyk(56.3%, 53%, 0%, 40.8%)
CIE-LABlab(33.77, 22.18, -44.71)
CIE-LCHlch(33.77, 49.91, 296.38°)
OKLaboklab(43.77% 0.0157 -0.1278)
OKLCHoklch(43.77% 0.129 277)
XYZxyz(10.0841, 7.8984, 30.2653)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424797 #979242
analogous
#427197 #424797 #684297
triadic
#424797 #974247 #479742
tetradic
#424797 #974271 #979242 #429768
square
#424797 #974271 #979242 #429768
split-complementary
#424797 #976842 #719742
monochromatic
#1D1F42 #2F336C #424797 #5E63B8 #888CCB

Accessibility & contrast

On white

8.14
#424797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#424797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424797
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424797#FFFFFF#000000##FFFFFF
##4247971.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B539A
Deuteranopia (green-blind)
#0C4C95
Tritanopia (blue-blind)
#165968
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #424797;
/* rgb */ color: rgb(66, 71, 151);
/* oklch */ color: oklch(43.8% 0.129 277.0);
Tailwind
colors: {
  custom: {
    50: '#7e7ab6',
    500: '#424797',
    950: '#000000',
  },
}
SCSS
$custom: #424797;
$custom-light: #7e7ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#424797",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 236.471,
    "s": 39.171,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43773,
    "c": 0.12877,
    "h": 277
  },
  "luminance": 0.07899
}

Semantic roles & 50–950 ramp

primary
#424797
secondary
#B6B37F
accent
#C859CF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #424797

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

Preview Lab → · Contrast checker → · Palette generator →

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