#242592#242592

#242592 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.172 H 272.7°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#242592
RGBrgb(36, 37, 146)
HSLhsl(239, 60%, 36%)
HSVhsv(239, 75%, 57%)
CMYKcmyk(75.3%, 74.7%, 0%, 42.7%)
CIE-LABlab(22.91, 37.56, -59.45)
CIE-LCHlch(22.91, 70.32, 302.29°)
OKLaboklab(35.13% 0.0082 -0.172)
OKLCHoklch(35.13% 0.172 272.7)
XYZxyz(6.5757, 3.7728, 27.5702)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242592 #929124
analogous
#245C92 #242592 #5A2492
triadic
#242592 #922425 #259224
tetradic
#242592 #92245C #929124 #24925A
square
#242592 #92245C #929124 #24925A
split-complementary
#242592 #925A24 #5C9224
monochromatic
#0C0C30 #181961 #242592 #3031C3 #5A5BD6

Accessibility & contrast

On white

11.97
#242592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#242592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242592
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242592#FFFFFF#000000##FFFFFF
##2425921.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003190
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #242592;
/* rgb */ color: rgb(36, 37, 146);
/* oklch */ color: oklch(35.1% 0.172 272.7);
Tailwind
colors: {
  custom: {
    50: '#7161b3',
    500: '#242592',
    950: '#000000',
  },
}
SCSS
$custom: #242592;
$custom-light: #7161b3;
$custom-dark: #000000;
JSON
{
  "hex": "#242592",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 239.455,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35128,
    "c": 0.17223,
    "h": 272.7
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#242592
secondary
#BBBA57
accent
#E244E4
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242592

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

Preview Lab → · Contrast checker → · Palette generator →

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