#242494#242494

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

Color values

HEX#242494
RGBrgb(36, 36, 148)
HSLhsl(240, 61%, 36%)
HSVhsv(240, 76%, 58%)
CMYKcmyk(75.7%, 75.7%, 0%, 42%)
CIE-LABlab(22.91, 38.85, -60.68)
CIE-LCHlch(22.91, 72.05, 302.63°)
OKLaboklab(35.2% 0.0084 -0.1756)
OKLCHoklch(35.2% 0.176 272.7)
XYZxyz(6.7019, 3.7742, 28.3865)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242494 #949424
analogous
#245C94 #242494 #5C2494
triadic
#242494 #942424 #249424
tetradic
#242494 #94245C #949424 #24945C
square
#242494 #94245C #949424 #24945C
split-complementary
#242494 #945C24 #5C9424
monochromatic
#0C0C32 #181863 #242494 #3030C5 #5B5BD7

Accessibility & contrast

On white

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

On black

1.76
#242494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##242494#FFFFFF#000000##FFFFFF
##2424941.0011.971.7611.97
#FFFFFF11.971.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #242494;
/* rgb */ color: rgb(36, 36, 148);
/* oklch */ color: oklch(35.2% 0.176 272.7);
Tailwind
colors: {
  custom: {
    50: '#7260b5',
    500: '#242494',
    950: '#000000',
  },
}
SCSS
$custom: #242494;
$custom-light: #7260b5;
$custom-dark: #000000;
JSON
{
  "hex": "#242494",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 240,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35196,
    "c": 0.17579,
    "h": 272.7
  },
  "luminance": 0.03775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242494

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

Preview Lab → · Contrast checker → · Palette generator →

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