#242230#242230

#242230 is a dark, muted blue. Relative luminance 0.017; OKLCH L 26.1% C 0.026 H 291.0°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#242230
RGBrgb(36, 34, 48)
HSLhsl(249, 17%, 16%)
HSVhsv(249, 29%, 19%)
CMYKcmyk(25%, 29.2%, 0%, 81.2%)
CIE-LABlab(14.02, 4.71, -8.88)
CIE-LCHlch(14.02, 10.05, 297.92°)
OKLaboklab(26.05% 0.0094 -0.0244)
OKLCHoklch(26.05% 0.026 291)
XYZxyz(1.8330, 1.7325, 3.0336)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242230 #2E3022
analogous
#222730 #242230 #2B2230
triadic
#242230 #302422 #223024
tetradic
#242230 #302227 #2E3022 #22302B
square
#242230 #302227 #2E3022 #22302B
split-complementary
#242230 #302B22 #273022
monochromatic
#0D0D12 #0D0D12 #242230 #3F3B54 #5A5578

Accessibility & contrast

On white

15.59
#242230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#242230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242230
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242230#FFFFFF#000000##FFFFFF
##2422301.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2431
Deuteranopia (green-blind)
#1F2330
Tritanopia (blue-blind)
#222427
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #242230;
/* rgb */ color: rgb(36, 34, 48);
/* oklch */ color: oklch(26.1% 0.026 291.0);
Tailwind
colors: {
  custom: {
    50: '#5e5c68',
    500: '#242230',
    950: '#000000',
  },
}
SCSS
$custom: #242230;
$custom-light: #5e5c68;
$custom-dark: #000000;
JSON
{
  "hex": "#242230",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 48
  },
  "hsl": {
    "h": 248.571,
    "s": 17.073,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26054,
    "c": 0.0261,
    "h": 291
  },
  "luminance": 0.01733
}

Semantic roles & 50–950 ramp

primary
#242230
secondary
#5E614D
accent
#BA6EAF
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040406
muted
#79797A

Preview Lab

Preview with #242230

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

Preview Lab → · Contrast checker → · Palette generator →

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