#242596#242596

#242596 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.177 H 272.4°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#242596
RGBrgb(36, 37, 150)
HSLhsl(239, 61%, 36%)
HSVhsv(239, 76%, 59%)
CMYKcmyk(76%, 75.3%, 0%, 41.2%)
CIE-LABlab(23.34, 38.95, -61.21)
CIE-LCHlch(23.34, 72.55, 302.47°)
OKLaboklab(35.56% 0.0075 -0.1771)
OKLCHoklch(35.56% 0.177 272.4)
XYZxyz(6.8923, 3.8995, 29.2377)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242596 #969524
analogous
#245E96 #242596 #5C2496
triadic
#242596 #962425 #259624
tetradic
#242596 #96245E #969524 #24965C
square
#242596 #96245E #969524 #24965C
split-complementary
#242596 #965C24 #5E9624
monochromatic
#0C0D33 #181965 #242596 #3031C7 #5C5ED8

Accessibility & contrast

On white

11.80
#242596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#242596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242596
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242596#FFFFFF#000000##FFFFFF
##2425961.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #242596;
/* rgb */ color: rgb(36, 37, 150);
/* oklch */ color: oklch(35.6% 0.177 272.4);
Tailwind
colors: {
  custom: {
    50: '#7261b6',
    500: '#242596',
    950: '#000000',
  },
}
SCSS
$custom: #242596;
$custom-light: #7261b6;
$custom-dark: #000000;
JSON
{
  "hex": "#242596",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 239.474,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35563,
    "c": 0.1773,
    "h": 272.4
  },
  "luminance": 0.039
}

Semantic roles & 50–950 ramp

primary
#242596
secondary
#BDBC59
accent
#E343E4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242596

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

Preview Lab → · Contrast checker → · Palette generator →

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