#241983#241983

#241983 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.165 H 276.1°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#241983
RGBrgb(36, 25, 131)
HSLhsl(246, 68%, 31%)
HSVhsv(246, 81%, 51%)
CMYKcmyk(72.5%, 80.9%, 0%, 48.6%)
CIE-LABlab(18.84, 39.30, -56.79)
CIE-LCHlch(18.84, 69.06, 304.68°)
OKLaboklab(31.76% 0.0174 -0.1642)
OKLCHoklch(31.76% 0.165 276.1)
XYZxyz(5.1706, 2.7085, 21.7186)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241983 #788319
analogous
#194383 #241983 #591983
triadic
#241983 #832419 #198324
tetradic
#241983 #831943 #788319 #198359
square
#241983 #831943 #788319 #198359
split-complementary
#241983 #835919 #438319
monochromatic
#08051C #160F50 #241983 #3223B6 #4D3DDA

Accessibility & contrast

On white

13.62
#241983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#241983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241983
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241983#FFFFFF#000000##FFFFFF
##2419831.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241983;
/* rgb */ color: rgb(36, 25, 131);
/* oklch */ color: oklch(31.8% 0.165 276.1);
Tailwind
colors: {
  custom: {
    50: '#6f59a8',
    500: '#241983',
    950: '#000000',
  },
}
SCSS
$custom: #241983;
$custom-light: #6f59a8;
$custom-dark: #000000;
JSON
{
  "hex": "#241983",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 246.226,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31762,
    "c": 0.1651,
    "h": 276.1
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#241983
secondary
#ABB741
accent
#EB3DD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #241983

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

Preview Lab → · Contrast checker → · Palette generator →

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