#242554#242554

#242554 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.083 H 279.0°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#242554
RGBrgb(36, 37, 84)
HSLhsl(239, 40%, 24%)
HSVhsv(239, 57%, 33%)
CMYKcmyk(57.1%, 56%, 0%, 67.1%)
CIE-LABlab(17.17, 14.85, -28.89)
CIE-LCHlch(17.17, 32.48, 297.20°)
OKLaboklab(29.18% 0.013 -0.0824)
OKLCHoklch(29.18% 0.083 279)
XYZxyz(2.9889, 2.3381, 8.6796)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242554 #545324
analogous
#243D54 #242554 #3B2454
triadic
#242554 #542425 #255424
tetradic
#242554 #54243D #545324 #24543B
square
#242554 #54243D #545324 #24543B
split-complementary
#242554 #543B24 #3D5424
monochromatic
#090915 #121229 #242554 #36387F #494BAA

Accessibility & contrast

On white

14.31
#242554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242554
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242554#FFFFFF#000000##FFFFFF
##2425541.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2C56
Deuteranopia (green-blind)
#072853
Tritanopia (blue-blind)
#0F2F38
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #242554;
/* rgb */ color: rgb(36, 37, 84);
/* oklch */ color: oklch(29.2% 0.083 279.0);
Tailwind
colors: {
  custom: {
    50: '#635f84',
    500: '#242554',
    950: '#000000',
  },
}
SCSS
$custom: #242554;
$custom-light: #635f84;
$custom-dark: #000000;
JSON
{
  "hex": "#242554",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 84
  },
  "hsl": {
    "h": 238.75,
    "s": 40,
    "l": 23.529
  },
  "oklch": {
    "l": 0.2918,
    "c": 0.08346,
    "h": 279
  },
  "luminance": 0.02338
}

Semantic roles & 50–950 ramp

primary
#242554
secondary
#88864C
accent
#CD58D0
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040B
muted
#7A797C

Preview Lab

Preview with #242554

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

Preview Lab → · Contrast checker → · Palette generator →

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