#242492#242492

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

Color values

HEX#242492
RGBrgb(36, 36, 146)
HSLhsl(240, 60%, 36%)
HSVhsv(240, 75%, 57%)
CMYKcmyk(75.3%, 75.3%, 0%, 42.7%)
CIE-LABlab(22.69, 38.16, -59.80)
CIE-LCHlch(22.69, 70.94, 302.54°)
OKLaboklab(34.98% 0.0087 -0.173)
OKLCHoklch(34.98% 0.173 272.9)
XYZxyz(6.5450, 3.7115, 27.5600)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242492 #929224
analogous
#245B92 #242492 #5B2492
triadic
#242492 #922424 #249224
tetradic
#242492 #92245B #929224 #24925B
square
#242492 #92245B #929224 #24925B
split-complementary
#242492 #925B24 #5B9224
monochromatic
#0C0C30 #181861 #242492 #3030C3 #5A5AD6

Accessibility & contrast

On white

12.05
#242492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242492
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242492#FFFFFF#000000##FFFFFF
##2424921.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242492;
/* rgb */ color: rgb(36, 36, 146);
/* oklch */ color: oklch(35.0% 0.173 272.9);
Tailwind
colors: {
  custom: {
    50: '#7260b3',
    500: '#242492',
    950: '#000000',
  },
}
SCSS
$custom: #242492;
$custom-light: #7260b3;
$custom-dark: #000000;
JSON
{
  "hex": "#242492",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 240,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34977,
    "c": 0.17326,
    "h": 272.9
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#242492
secondary
#BBBB57
accent
#E444E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242492

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

Preview Lab → · Contrast checker → · Palette generator →

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