#242559#242559

#242559 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.6% C 0.091 H 278.4°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#242559
RGBrgb(36, 37, 89)
HSLhsl(239, 42%, 25%)
HSVhsv(239, 60%, 35%)
CMYKcmyk(59.6%, 58.4%, 0%, 65.1%)
CIE-LABlab(17.55, 16.70, -31.63)
CIE-LCHlch(17.55, 35.77, 297.84°)
OKLaboklab(29.59% 0.0134 -0.0905)
OKLCHoklch(29.59% 0.091 278.4)
XYZxyz(3.1917, 2.4193, 9.7480)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242559 #595824
analogous
#244059 #242559 #3E2459
triadic
#242559 #592425 #255924
tetradic
#242559 #592440 #595824 #24593E
square
#242559 #592440 #595824 #24593E
split-complementary
#242559 #593E24 #405924
monochromatic
#090916 #12132D #242559 #363785 #4749B0

Accessibility & contrast

On white

14.15
#242559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#242559 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242559
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242559#FFFFFF#000000##FFFFFF
##2425591.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062D5B
Deuteranopia (green-blind)
#002958
Tritanopia (blue-blind)
#09313B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #242559;
/* rgb */ color: rgb(36, 37, 89);
/* oklch */ color: oklch(29.6% 0.091 278.4);
Tailwind
colors: {
  custom: {
    50: '#645f88',
    500: '#242559',
    950: '#000000',
  },
}
SCSS
$custom: #242559;
$custom-light: #645f88;
$custom-dark: #000000;
JSON
{
  "hex": "#242559",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 89
  },
  "hsl": {
    "h": 238.868,
    "s": 42.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29585,
    "c": 0.09149,
    "h": 278.4
  },
  "luminance": 0.02419
}

Semantic roles & 50–950 ramp

primary
#242559
secondary
#8D8B4C
accent
#D056D2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040B
muted
#7A797C

Preview Lab

Preview with #242559

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

Preview Lab → · Contrast checker → · Palette generator →

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