#242597#242597

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

Color values

HEX#242597
RGBrgb(36, 37, 151)
HSLhsl(239, 61%, 37%)
HSVhsv(239, 76%, 59%)
CMYKcmyk(76.2%, 75.5%, 0%, 40.8%)
CIE-LABlab(23.44, 39.30, -61.65)
CIE-LCHlch(23.44, 73.10, 302.51°)
OKLaboklab(35.67% 0.0073 -0.1784)
OKLCHoklch(35.67% 0.179 272.4)
XYZxyz(6.9732, 3.9318, 29.6636)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242597 #979624
analogous
#245F97 #242597 #5D2497
triadic
#242597 #972425 #259724
tetradic
#242597 #97245F #979624 #24975D
square
#242597 #97245F #979624 #24975D
split-complementary
#242597 #975D24 #5F9724
monochromatic
#0C0D34 #181966 #242597 #3031C8 #5D5ED8

Accessibility & contrast

On white

11.75
#242597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#242597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242597
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242597#FFFFFF#000000##FFFFFF
##2425971.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242597;
/* rgb */ color: rgb(36, 37, 151);
/* oklch */ color: oklch(35.7% 0.179 272.4);
Tailwind
colors: {
  custom: {
    50: '#7361b7',
    500: '#242597',
    950: '#000000',
  },
}
SCSS
$custom: #242597;
$custom-light: #7361b7;
$custom-dark: #000000;
JSON
{
  "hex": "#242597",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 239.478,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35672,
    "c": 0.17856,
    "h": 272.4
  },
  "luminance": 0.03933
}

Semantic roles & 50–950 ramp

primary
#242597
secondary
#BDBC5A
accent
#E343E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242597

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

Preview Lab → · Contrast checker → · Palette generator →

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