#242555#242555

#242555 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.3% C 0.085 H 278.9°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#242555
RGBrgb(36, 37, 85)
HSLhsl(239, 40%, 24%)
HSVhsv(239, 58%, 33%)
CMYKcmyk(57.6%, 56.5%, 0%, 66.7%)
CIE-LABlab(17.24, 15.21, -29.44)
CIE-LCHlch(17.24, 33.14, 297.33°)
OKLaboklab(29.26% 0.0131 -0.0841)
OKLCHoklch(29.26% 0.085 278.9)
XYZxyz(3.0283, 2.3539, 8.8873)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242555 #555424
analogous
#243D55 #242555 #3B2455
triadic
#242555 #552425 #255524
tetradic
#242555 #55243D #555424 #24553B
square
#242555 #55243D #555424 #24553B
split-complementary
#242555 #553B24 #3D5524
monochromatic
#090915 #12122A #242555 #363880 #484AAB

Accessibility & contrast

On white

14.28
#242555 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#242555 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242555
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242555#FFFFFF#000000##FFFFFF
##2425551.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2C57
Deuteranopia (green-blind)
#062854
Tritanopia (blue-blind)
#0E3039
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #242555;
/* rgb */ color: rgb(36, 37, 85);
/* oklch */ color: oklch(29.3% 0.085 278.9);
Tailwind
colors: {
  custom: {
    50: '#635f85',
    500: '#242555',
    950: '#000000',
  },
}
SCSS
$custom: #242555;
$custom-light: #635f85;
$custom-dark: #000000;
JSON
{
  "hex": "#242555",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 85
  },
  "hsl": {
    "h": 238.776,
    "s": 40.496,
    "l": 23.725
  },
  "oklch": {
    "l": 0.2926,
    "c": 0.08508,
    "h": 278.9
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#242555
secondary
#89874C
accent
#CE57D0
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040B
muted
#7A797C

Preview Lab

Preview with #242555

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

Preview Lab → · Contrast checker → · Palette generator →

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