#242561#242561

#242561 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.3% C 0.104 H 277.5°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#242561
RGBrgb(36, 37, 97)
HSLhsl(239, 46%, 26%)
HSVhsv(239, 63%, 38%)
CMYKcmyk(62.9%, 61.9%, 0%, 62%)
CIE-LABlab(18.19, 19.69, -35.90)
CIE-LCHlch(18.19, 40.95, 298.75°)
OKLaboklab(30.27% 0.0135 -0.1031)
OKLCHoklch(30.27% 0.104 277.5)
XYZxyz(3.5461, 2.5610, 11.6144)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242561 #616024
analogous
#244361 #242561 #412461
triadic
#242561 #612425 #256124
tetradic
#242561 #612443 #616024 #246141
square
#242561 #612443 #616024 #246141
split-complementary
#242561 #614124 #436124
monochromatic
#080916 #131434 #242561 #35368E #4547BA

Accessibility & contrast

On white

13.89
#242561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242561
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242561#FFFFFF#000000##FFFFFF
##2425611.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F63
Deuteranopia (green-blind)
#002A60
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #242561;
/* rgb */ color: rgb(36, 37, 97);
/* oklch */ color: oklch(30.3% 0.104 277.5);
Tailwind
colors: {
  custom: {
    50: '#665f8e',
    500: '#242561',
    950: '#000000',
  },
}
SCSS
$custom: #242561;
$custom-light: #665f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#242561",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 97
  },
  "hsl": {
    "h": 239.016,
    "s": 45.865,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30268,
    "c": 0.10396,
    "h": 277.5
  },
  "luminance": 0.02561
}

Semantic roles & 50–950 ramp

primary
#242561
secondary
#94934C
accent
#D352D6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #242561

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

Preview Lab → · Contrast checker → · Palette generator →

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