#242599#242599

#242599 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.181 H 272.2°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#242599
RGBrgb(36, 37, 153)
HSLhsl(239, 62%, 37%)
HSVhsv(239, 76%, 60%)
CMYKcmyk(76.5%, 75.8%, 0%, 40%)
CIE-LABlab(23.66, 39.98, -62.51)
CIE-LCHlch(23.66, 74.21, 302.60°)
OKLaboklab(35.89% 0.007 -0.1809)
OKLCHoklch(35.89% 0.181 272.2)
XYZxyz(7.1370, 3.9974, 30.5262)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242599 #999824
analogous
#246099 #242599 #5E2499
triadic
#242599 #992425 #259924
tetradic
#242599 #992460 #999824 #24995E
square
#242599 #992460 #999824 #24995E
split-complementary
#242599 #995E24 #609924
monochromatic
#0D0D36 #181967 #242599 #3031CB #5E5FD9

Accessibility & contrast

On white

11.67
#242599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#242599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242599
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242599#FFFFFF#000000##FFFFFF
##2425991.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003297
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #242599;
/* rgb */ color: rgb(36, 37, 153);
/* oklch */ color: oklch(35.9% 0.181 272.2);
Tailwind
colors: {
  custom: {
    50: '#7361b8',
    500: '#242599',
    950: '#000000',
  },
}
SCSS
$custom: #242599;
$custom-light: #7361b8;
$custom-dark: #000000;
JSON
{
  "hex": "#242599",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 239.487,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35891,
    "c": 0.18107,
    "h": 272.2
  },
  "luminance": 0.03998
}

Semantic roles & 50–950 ramp

primary
#242599
secondary
#BEBD5B
accent
#E443E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #242599

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

Preview Lab → · Contrast checker → · Palette generator →

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