#242497#242497

#242497 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.180 H 272.5°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#242497
RGBrgb(36, 36, 151)
HSLhsl(240, 61%, 37%)
HSVhsv(240, 76%, 59%)
CMYKcmyk(76.2%, 76.2%, 0%, 40.8%)
CIE-LABlab(23.24, 39.88, -61.99)
CIE-LCHlch(23.24, 73.70, 302.75°)
OKLaboklab(35.53% 0.0078 -0.1794)
OKLCHoklch(35.53% 0.18 272.5)
XYZxyz(6.9425, 3.8705, 29.6533)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242497 #979724
analogous
#245E97 #242497 #5E2497
triadic
#242497 #972424 #249724
tetradic
#242497 #97245E #979724 #24975E
square
#242497 #97245E #979724 #24975E
split-complementary
#242497 #975E24 #5E9724
monochromatic
#0C0C34 #181866 #242497 #3030C8 #5D5DD8

Accessibility & contrast

On white

11.84
#242497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#242497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242497
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242497#FFFFFF#000000##FFFFFF
##2424971.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003295
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #242497;
/* rgb */ color: rgb(36, 36, 151);
/* oklch */ color: oklch(35.5% 0.180 272.5);
Tailwind
colors: {
  custom: {
    50: '#7360b7',
    500: '#242497',
    950: '#000000',
  },
}
SCSS
$custom: #242497;
$custom-light: #7360b7;
$custom-dark: #000000;
JSON
{
  "hex": "#242497",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 240,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35526,
    "c": 0.17957,
    "h": 272.5
  },
  "luminance": 0.03871
}

Semantic roles & 50–950 ramp

primary
#242497
secondary
#BDBD5A
accent
#E543E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242497

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

Preview Lab → · Contrast checker → · Palette generator →

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