#242539#242539

#242539 is a dark, muted blue. Relative luminance 0.020; OKLCH L 27.3% C 0.037 H 281.4°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#242539
RGBrgb(36, 37, 57)
HSLhsl(237, 23%, 18%)
HSVhsv(237, 37%, 22%)
CMYKcmyk(36.8%, 35.1%, 0%, 77.6%)
CIE-LABlab(15.45, 5.34, -13.04)
CIE-LCHlch(15.45, 14.09, 292.26°)
OKLaboklab(27.32% 0.0073 -0.0362)
OKLCHoklch(27.32% 0.037 281.4)
XYZxyz(2.1274, 1.9935, 4.1428)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242539 #393824
analogous
#242F39 #242539 #2D2439
triadic
#242539 #392425 #253924
tetradic
#242539 #39242F #393824 #24392D
square
#242539 #39242F #393824 #24392D
split-complementary
#242539 #392D24 #2F3924
monochromatic
#0C0C13 #0C0D13 #242539 #3C3D5F #535684

Accessibility & contrast

On white

15.01
#242539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#242539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242539
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242539#FFFFFF#000000##FFFFFF
##2425391.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F273A
Deuteranopia (green-blind)
#1E2639
Tritanopia (blue-blind)
#1F292C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #242539;
/* rgb */ color: rgb(36, 37, 57);
/* oklch */ color: oklch(27.3% 0.037 281.4);
Tailwind
colors: {
  custom: {
    50: '#5f5f6f',
    500: '#242539',
    950: '#000000',
  },
}
SCSS
$custom: #242539;
$custom-light: #5f5f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#242539",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 57
  },
  "hsl": {
    "h": 237.143,
    "s": 22.581,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27315,
    "c": 0.03695,
    "h": 281.4
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#242539
secondary
#6B6A4E
accent
#BB69BF
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#040407
muted
#79797A

Preview Lab

Preview with #242539

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

Preview Lab → · Contrast checker → · Palette generator →

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