#242393#242393

#242393 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.176 H 272.9°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#242393
RGBrgb(36, 35, 147)
HSLhsl(241, 62%, 36%)
HSVhsv(241, 76%, 58%)
CMYKcmyk(75.5%, 76.2%, 0%, 42.4%)
CIE-LABlab(22.59, 39.09, -60.58)
CIE-LCHlch(22.59, 72.10, 302.83°)
OKLaboklab(34.94% 0.009 -0.1753)
OKLCHoklch(34.94% 0.176 272.9)
XYZxyz(6.5933, 3.6830, 27.9615)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242393 #929323
analogous
#235A93 #242393 #5C2393
triadic
#242393 #932423 #239324
tetradic
#242393 #93235A #929323 #23935C
square
#242393 #93235A #929323 #23935C
split-complementary
#242393 #935C23 #5A9323
monochromatic
#0C0B30 #181762 #242393 #302FC4 #5A59D7

Accessibility & contrast

On white

12.09
#242393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#242393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242393
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242393#FFFFFF#000000##FFFFFF
##2423931.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #242393;
/* rgb */ color: rgb(36, 35, 147);
/* oklch */ color: oklch(34.9% 0.176 272.9);
Tailwind
colors: {
  custom: {
    50: '#725fb4',
    500: '#242393',
    950: '#000000',
  },
}
SCSS
$custom: #242393;
$custom-light: #725fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#242393",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 240.536,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34939,
    "c": 0.17554,
    "h": 272.9
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#242393
secondary
#BBBC56
accent
#E543E3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242393

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

Preview Lab → · Contrast checker → · Palette generator →

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