#242549#242549

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

Color values

HEX#242549
RGBrgb(36, 37, 73)
HSLhsl(238, 34%, 21%)
HSVhsv(238, 51%, 29%)
CMYKcmyk(50.7%, 49.3%, 0%, 71.4%)
CIE-LABlab(16.40, 10.83, -22.65)
CIE-LCHlch(16.40, 25.10, 295.56°)
OKLaboklab(28.35% 0.0115 -0.0641)
OKLCHoklch(28.35% 0.065 280.2)
XYZxyz(2.5914, 2.1791, 6.5861)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242549 #494824
analogous
#243849 #242549 #362449
triadic
#242549 #492425 #254924
tetradic
#242549 #492438 #494824 #244936
square
#242549 #492438 #494824 #244936
split-complementary
#242549 #493624 #384924
monochromatic
#0A0A14 #101020 #242549 #383A72 #4C4F9B

Accessibility & contrast

On white

14.63
#242549 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#242549 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242549
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242549#FFFFFF#000000##FFFFFF
##2425491.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172A4A
Deuteranopia (green-blind)
#142748
Tritanopia (blue-blind)
#172C33
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #242549;
/* rgb */ color: rgb(36, 37, 73);
/* oklch */ color: oklch(28.3% 0.065 280.2);
Tailwind
colors: {
  custom: {
    50: '#615f7c',
    500: '#242549',
    950: '#000000',
  },
}
SCSS
$custom: #242549;
$custom-light: #615f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#242549",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 73
  },
  "hsl": {
    "h": 238.378,
    "s": 33.945,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2835,
    "c": 0.06516,
    "h": 280.2
  },
  "luminance": 0.02179
}

Semantic roles & 50–950 ramp

primary
#242549
secondary
#7C7B4D
accent
#C75ECA
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#050409
muted
#79797B

Preview Lab

Preview with #242549

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

Preview Lab → · Contrast checker → · Palette generator →

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