#242545#242545

#242545 is a dark, muted blue. Relative luminance 0.021; OKLCH L 28.1% C 0.058 H 280.6°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#242545
RGBrgb(36, 37, 69)
HSLhsl(238, 31%, 21%)
HSVhsv(238, 48%, 27%)
CMYKcmyk(47.8%, 46.4%, 0%, 72.9%)
CIE-LABlab(16.14, 9.41, -20.30)
CIE-LCHlch(16.14, 22.38, 294.86°)
OKLaboklab(28.07% 0.0107 -0.0573)
OKLCHoklch(28.07% 0.058 280.6)
XYZxyz(2.4630, 2.1278, 5.9100)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242545 #454424
analogous
#243545 #242545 #332445
triadic
#242545 #452425 #254524
tetradic
#242545 #452435 #454424 #244533
square
#242545 #452435 #454424 #244533
split-complementary
#242545 #453324 #354524
monochromatic
#0A0B14 #0F0F1D #242545 #393B6D #4E5095

Accessibility & contrast

On white

14.73
#242545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#242545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242545
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242545#FFFFFF#000000##FFFFFF
##2425451.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192946
Deuteranopia (green-blind)
#172744
Tritanopia (blue-blind)
#1A2B31
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #242545;
/* rgb */ color: rgb(36, 37, 69);
/* oklch */ color: oklch(28.1% 0.058 280.6);
Tailwind
colors: {
  custom: {
    50: '#615f79',
    500: '#242545',
    950: '#000000',
  },
}
SCSS
$custom: #242545;
$custom-light: #615f79;
$custom-dark: #000000;
JSON
{
  "hex": "#242545",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 69
  },
  "hsl": {
    "h": 238.182,
    "s": 31.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28071,
    "c": 0.05827,
    "h": 280.6
  },
  "luminance": 0.02128
}

Semantic roles & 50–950 ramp

primary
#242545
secondary
#78774D
accent
#C460C8
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050409
muted
#79797B

Preview Lab

Preview with #242545

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

Preview Lab → · Contrast checker → · Palette generator →

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