#242560#242560

#242560 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.2% C 0.102 H 277.6°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#242560
RGBrgb(36, 37, 96)
HSLhsl(239, 45%, 26%)
HSVhsv(239, 63%, 38%)
CMYKcmyk(62.5%, 61.5%, 0%, 62.4%)
CIE-LABlab(18.11, 19.32, -35.37)
CIE-LCHlch(18.11, 40.30, 298.64°)
OKLaboklab(30.18% 0.0135 -0.1015)
OKLCHoklch(30.18% 0.102 277.6)
XYZxyz(3.4998, 2.5425, 11.3704)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242560 #605F24
analogous
#244360 #242560 #412460
triadic
#242560 #602425 #256024
tetradic
#242560 #602443 #605F24 #246041
square
#242560 #602443 #605F24 #246041
split-complementary
#242560 #604124 #436024
monochromatic
#080916 #131433 #242560 #35368D #4547B9

Accessibility & contrast

On white

13.92
#242560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#242560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242560
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242560#FFFFFF#000000##FFFFFF
##2425601.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#00333E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #242560;
/* rgb */ color: rgb(36, 37, 96);
/* oklch */ color: oklch(30.2% 0.102 277.6);
Tailwind
colors: {
  custom: {
    50: '#665f8e',
    500: '#242560',
    950: '#000000',
  },
}
SCSS
$custom: #242560;
$custom-light: #665f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#242560",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 96
  },
  "hsl": {
    "h": 239,
    "s": 45.455,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3018,
    "c": 0.10242,
    "h": 277.6
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#242560
secondary
#94924C
accent
#D353D5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #242560

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

Preview Lab → · Contrast checker → · Palette generator →

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