#242531#242531

#242531 is a dark, muted blue. Relative luminance 0.019; OKLCH L 26.9% C 0.022 H 281.1°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#242531
RGBrgb(36, 37, 49)
HSLhsl(235, 15%, 17%)
HSVhsv(235, 27%, 19%)
CMYKcmyk(26.5%, 24.5%, 0%, 80.8%)
CIE-LABlab(15.06, 2.84, -7.99)
CIE-LCHlch(15.06, 8.48, 289.56°)
OKLaboklab(26.88% 0.0043 -0.0219)
OKLCHoklch(26.88% 0.022 281.1)
XYZxyz(1.9434, 1.9199, 3.1733)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242531 #313024
analogous
#242C31 #242531 #2A2431
triadic
#242531 #312425 #253124
tetradic
#242531 #31242C #313024 #24312A
square
#242531 #31242C #313024 #24312A
split-complementary
#242531 #312A24 #2C3124
monochromatic
#0D0D12 #0D0D12 #242531 #3E4054 #585A78

Accessibility & contrast

On white

15.17
#242531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#242531 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242531
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242531#FFFFFF#000000##FFFFFF
##2425311.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222632
Deuteranopia (green-blind)
#212531
Tritanopia (blue-blind)
#212729
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #242531;
/* rgb */ color: rgb(36, 37, 49);
/* oklch */ color: oklch(26.9% 0.022 281.1);
Tailwind
colors: {
  custom: {
    50: '#5e5f69',
    500: '#242531',
    950: '#000000',
  },
}
SCSS
$custom: #242531;
$custom-light: #5e5f69;
$custom-dark: #000000;
JSON
{
  "hex": "#242531",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 49
  },
  "hsl": {
    "h": 235.385,
    "s": 15.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26881,
    "c": 0.0223,
    "h": 281.1
  },
  "luminance": 0.0192
}

Semantic roles & 50–950 ramp

primary
#242531
secondary
#62604F
accent
#B270B8
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A

Preview Lab

Preview with #242531

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

Preview Lab → · Contrast checker → · Palette generator →

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