#242541#242541

#242541 is a dark, muted blue. Relative luminance 0.021; OKLCH L 27.8% C 0.051 H 281.0°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#242541
RGBrgb(36, 37, 65)
HSLhsl(238, 29%, 20%)
HSVhsv(238, 45%, 25%)
CMYKcmyk(44.6%, 43.1%, 0%, 74.5%)
CIE-LABlab(15.90, 8.01, -17.92)
CIE-LCHlch(15.90, 19.63, 294.09°)
OKLaboklab(27.81% 0.0097 -0.0503)
OKLCHoklch(27.81% 0.051 281)
XYZxyz(2.3430, 2.0798, 5.2780)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242541 #414024
analogous
#243441 #242541 #322441
triadic
#242541 #412425 #254124
tetradic
#242541 #412434 #414024 #244132
square
#242541 #412434 #414024 #244132
split-complementary
#242541 #413224 #344124
monochromatic
#0B0B14 #0E0F1A #242541 #3A3B68 #505290

Accessibility & contrast

On white

14.83
#242541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#242541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242541
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242541#FFFFFF#000000##FFFFFF
##2425411.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2942
Deuteranopia (green-blind)
#1A2740
Tritanopia (blue-blind)
#1B2A2F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #242541;
/* rgb */ color: rgb(36, 37, 65);
/* oklch */ color: oklch(27.8% 0.051 281.0);
Tailwind
colors: {
  custom: {
    50: '#605f75',
    500: '#242541',
    950: '#000000',
  },
}
SCSS
$custom: #242541;
$custom-light: #605f75;
$custom-dark: #000000;
JSON
{
  "hex": "#242541",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 65
  },
  "hsl": {
    "h": 237.931,
    "s": 28.713,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27805,
    "c": 0.05127,
    "h": 281
  },
  "luminance": 0.0208
}

Semantic roles & 50–950 ramp

primary
#242541
secondary
#74724D
accent
#C263C5
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#050408
muted
#79797B

Preview Lab

Preview with #242541

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

Preview Lab → · Contrast checker → · Palette generator →

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