#242084#242084

#242084 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.159 H 274.9°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#242084
RGBrgb(36, 32, 132)
HSLhsl(242, 61%, 32%)
HSVhsv(242, 76%, 52%)
CMYKcmyk(72.7%, 75.8%, 0%, 48.2%)
CIE-LABlab(20.34, 35.68, -54.95)
CIE-LCHlch(20.34, 65.52, 303.00°)
OKLaboklab(32.85% 0.0135 -0.1589)
OKLCHoklch(32.85% 0.159 274.9)
XYZxyz(5.4075, 3.0735, 22.1336)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242084 #808420
analogous
#204E84 #242084 #562084
triadic
#242084 #842420 #208424
tetradic
#242084 #84204E #808420 #208456
square
#242084 #84204E #808420 #208456
split-complementary
#242084 #845620 #4E8420
monochromatic
#090821 #171453 #242084 #312CB5 #504BD3

Accessibility & contrast

On white

13.00
#242084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#242084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242084
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242084#FFFFFF#000000##FFFFFF
##2420841.0013.001.6113.00
#FFFFFF13.001.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#002C82
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #242084;
/* rgb */ color: rgb(36, 32, 132);
/* oklch */ color: oklch(32.9% 0.159 274.9);
Tailwind
colors: {
  custom: {
    50: '#6e5da9',
    500: '#242084',
    950: '#000000',
  },
}
SCSS
$custom: #242084;
$custom-light: #6e5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#242084",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 132
  },
  "hsl": {
    "h": 242.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32851,
    "c": 0.15946,
    "h": 274.9
  },
  "luminance": 0.03074
}

Semantic roles & 50–950 ramp

primary
#242084
secondary
#B2B64A
accent
#E444DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #242084

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

Preview Lab → · Contrast checker → · Palette generator →

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