#424295#424295

#424295 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.6% C 0.133 H 279.2°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#424295
RGBrgb(66, 66, 149)
HSLhsl(240, 39%, 42%)
HSVhsv(240, 56%, 58%)
CMYKcmyk(55.7%, 55.7%, 0%, 41.6%)
CIE-LABlab(32.31, 24.76, -45.85)
CIE-LCHlch(32.31, 52.11, 298.37°)
OKLaboklab(42.64% 0.0212 -0.1312)
OKLCHoklch(42.64% 0.133 279.2)
XYZxyz(9.6181, 7.2240, 29.3155)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#424295 #959542
analogous
#426C95 #424295 #6C4295
triadic
#424295 #954242 #429542
tetradic
#424295 #95426C #959542 #42956C
square
#424295 #95426C #959542 #42956C
split-complementary
#424295 #956C42 #6C9542
monochromatic
#1C1C40 #2F2F6B #424295 #5D5DB7 #8787CA

Accessibility & contrast

On white

8.59
#424295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#424295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #424295
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##424295#FFFFFF#000000##FFFFFF
##4242951.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4F98
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#1A5565
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #424295;
/* rgb */ color: rgb(66, 66, 149);
/* oklch */ color: oklch(42.6% 0.133 279.2);
Tailwind
colors: {
  custom: {
    50: '#7e76b5',
    500: '#424295',
    950: '#000000',
  },
}
SCSS
$custom: #424295;
$custom-light: #7e76b5;
$custom-dark: #000000;
JSON
{
  "hex": "#424295",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 149
  },
  "hsl": {
    "h": 240,
    "s": 38.605,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42636,
    "c": 0.1329,
    "h": 279.2
  },
  "luminance": 0.07225
}

Semantic roles & 50–950 ramp

primary
#424295
secondary
#B5B57E
accent
#CF59CF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #424295

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

Preview Lab → · Contrast checker → · Palette generator →

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