#242547#242547

#242547 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.2% C 0.062 H 280.4°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#242547
RGBrgb(36, 37, 71)
HSLhsl(238, 33%, 21%)
HSVhsv(238, 49%, 28%)
CMYKcmyk(49.3%, 47.9%, 0%, 72.2%)
CIE-LABlab(16.27, 10.12, -21.48)
CIE-LCHlch(16.27, 23.74, 295.22°)
OKLaboklab(28.21% 0.0111 -0.0607)
OKLCHoklch(28.21% 0.062 280.4)
XYZxyz(2.5261, 2.1530, 6.2425)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242547 #474624
analogous
#243647 #242547 #342447
triadic
#242547 #472425 #254724
tetradic
#242547 #472436 #474624 #244734
square
#242547 #472436 #474624 #244734
split-complementary
#242547 #473424 #364724
monochromatic
#0A0B14 #0F101E #242547 #393A70 #4D4F98

Accessibility & contrast

On white

14.68
#242547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242547
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242547#FFFFFF#000000##FFFFFF
##2425471.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182A48
Deuteranopia (green-blind)
#162746
Tritanopia (blue-blind)
#192C32
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #242547;
/* rgb */ color: rgb(36, 37, 71);
/* oklch */ color: oklch(28.2% 0.062 280.4);
Tailwind
colors: {
  custom: {
    50: '#615f7a',
    500: '#242547',
    950: '#000000',
  },
}
SCSS
$custom: #242547;
$custom-light: #615f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#242547",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 71
  },
  "hsl": {
    "h": 238.286,
    "s": 32.71,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28209,
    "c": 0.06173,
    "h": 280.4
  },
  "luminance": 0.02153
}

Semantic roles & 50–950 ramp

primary
#242547
secondary
#7A794D
accent
#C65FC9
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050409
muted
#79797B

Preview Lab

Preview with #242547

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

Preview Lab → · Contrast checker → · Palette generator →

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