#242536#242536

#242536 is a dark, muted blue. Relative luminance 0.020; OKLCH L 27.1% C 0.032 H 281.5°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#242536
RGBrgb(36, 37, 54)
HSLhsl(237, 20%, 18%)
HSVhsv(237, 33%, 21%)
CMYKcmyk(33.3%, 31.5%, 0%, 78.8%)
CIE-LABlab(15.30, 4.37, -11.16)
CIE-LCHlch(15.30, 11.99, 291.40°)
OKLaboklab(27.15% 0.0063 -0.0309)
OKLCHoklch(27.15% 0.032 281.5)
XYZxyz(2.0548, 1.9645, 3.7602)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242536 #363524
analogous
#242E36 #242536 #2C2436
triadic
#242536 #362425 #253624
tetradic
#242536 #36242E #363524 #24362C
square
#242536 #36242E #363524 #24362C
split-complementary
#242536 #362C24 #2E3624
monochromatic
#0C0D12 #0C0D12 #242536 #3C3E5B #55577F

Accessibility & contrast

On white

15.08
#242536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#242536 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242536
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242536#FFFFFF#000000##FFFFFF
##2425361.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202737
Deuteranopia (green-blind)
#1F2636
Tritanopia (blue-blind)
#20282B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #242536;
/* rgb */ color: rgb(36, 37, 54);
/* oklch */ color: oklch(27.1% 0.032 281.5);
Tailwind
colors: {
  custom: {
    50: '#5f5f6d',
    500: '#242536',
    950: '#000000',
  },
}
SCSS
$custom: #242536;
$custom-light: #5f5f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#242536",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 54
  },
  "hsl": {
    "h": 236.667,
    "s": 20,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27145,
    "c": 0.0315,
    "h": 281.5
  },
  "luminance": 0.01965
}

Semantic roles & 50–950 ramp

primary
#242536
secondary
#68664E
accent
#B86BBD
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040407
muted
#79797A

Preview Lab

Preview with #242536

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

Preview Lab → · Contrast checker → · Palette generator →

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