#242392#242392

#242392 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.174 H 273.0°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#242392
RGBrgb(36, 35, 146)
HSLhsl(241, 61%, 35%)
HSVhsv(241, 76%, 57%)
CMYKcmyk(75.3%, 76%, 0%, 42.7%)
CIE-LABlab(22.49, 38.74, -60.14)
CIE-LCHlch(22.49, 71.54, 302.79°)
OKLaboklab(34.83% 0.0092 -0.174)
OKLCHoklch(34.83% 0.174 273)
XYZxyz(6.5152, 3.6518, 27.5501)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242392 #919223
analogous
#235992 #242392 #5C2392
triadic
#242392 #922423 #239224
tetradic
#242392 #922359 #919223 #23925C
square
#242392 #922359 #919223 #23925C
split-complementary
#242392 #925C23 #599223
monochromatic
#0C0B2F #181761 #242392 #302FC3 #5958D7

Accessibility & contrast

On white

12.14
#242392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#242392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242392
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242392#FFFFFF#000000##FFFFFF
##2423921.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003090
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #242392;
/* rgb */ color: rgb(36, 35, 146);
/* oklch */ color: oklch(34.8% 0.174 273.0);
Tailwind
colors: {
  custom: {
    50: '#725fb3',
    500: '#242392',
    950: '#000000',
  },
}
SCSS
$custom: #242392;
$custom-light: #725fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#242392",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 240.541,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34829,
    "c": 0.17427,
    "h": 273
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#242392
secondary
#BABB55
accent
#E443E3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242392

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

Preview Lab → · Contrast checker → · Palette generator →

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