#241984#241984

#241984 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.166 H 275.9°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#241984
RGBrgb(36, 25, 132)
HSLhsl(246, 68%, 31%)
HSVhsv(246, 81%, 52%)
CMYKcmyk(72.7%, 81.1%, 0%, 48.2%)
CIE-LABlab(18.95, 39.62, -57.23)
CIE-LCHlch(18.95, 69.61, 304.69°)
OKLaboklab(31.88% 0.0172 -0.1655)
OKLCHoklch(31.88% 0.166 275.9)
XYZxyz(5.2387, 2.7358, 22.0773)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241984 #798419
analogous
#194384 #241984 #591984
triadic
#241984 #842419 #198424
tetradic
#241984 #841943 #798419 #198459
square
#241984 #841943 #798419 #198459
split-complementary
#241984 #845919 #438419
monochromatic
#08061D #160F51 #241984 #3223B7 #4D3DDA

Accessibility & contrast

On white

13.57
#241984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#241984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241984
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241984#FFFFFF#000000##FFFFFF
##2419841.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002982
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241984;
/* rgb */ color: rgb(36, 25, 132);
/* oklch */ color: oklch(31.9% 0.166 275.9);
Tailwind
colors: {
  custom: {
    50: '#6f59a9',
    500: '#241984',
    950: '#000000',
  },
}
SCSS
$custom: #241984;
$custom-light: #6f59a9;
$custom-dark: #000000;
JSON
{
  "hex": "#241984",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 246.168,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31878,
    "c": 0.16635,
    "h": 275.9
  },
  "luminance": 0.02736
}

Semantic roles & 50–950 ramp

primary
#241984
secondary
#ACB841
accent
#EB3DD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #241984

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

Preview Lab → · Contrast checker → · Palette generator →

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