#242548#242548

#242548 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.3% C 0.063 H 280.3°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#242548
RGBrgb(36, 37, 72)
HSLhsl(238, 33%, 21%)
HSVhsv(238, 50%, 28%)
CMYKcmyk(50%, 48.6%, 0%, 71.8%)
CIE-LABlab(16.34, 10.47, -22.06)
CIE-LCHlch(16.34, 24.42, 295.39°)
OKLaboklab(28.28% 0.0113 -0.0624)
OKLCHoklch(28.28% 0.063 280.3)
XYZxyz(2.5585, 2.1660, 6.4129)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242548 #484724
analogous
#243748 #242548 #352448
triadic
#242548 #482425 #254824
tetradic
#242548 #482437 #484724 #244835
square
#242548 #482437 #484724 #244835
split-complementary
#242548 #483524 #374824
monochromatic
#0A0A14 #10101F #242548 #383A71 #4D4F9A

Accessibility & contrast

On white

14.65
#242548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242548
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242548#FFFFFF#000000##FFFFFF
##2425481.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182A49
Deuteranopia (green-blind)
#152747
Tritanopia (blue-blind)
#182C33
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #242548;
/* rgb */ color: rgb(36, 37, 72);
/* oklch */ color: oklch(28.3% 0.063 280.3);
Tailwind
colors: {
  custom: {
    50: '#615f7b',
    500: '#242548',
    950: '#000000',
  },
}
SCSS
$custom: #242548;
$custom-light: #615f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#242548",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 72
  },
  "hsl": {
    "h": 238.333,
    "s": 33.333,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28279,
    "c": 0.06344,
    "h": 280.3
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#242548
secondary
#7B7A4D
accent
#C65EC9
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#050409
muted
#79797B

Preview Lab

Preview with #242548

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

Preview Lab → · Contrast checker → · Palette generator →

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