#241982#241982

#241982 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.164 H 276.2°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#241982
RGBrgb(36, 25, 130)
HSLhsl(246, 68%, 30%)
HSVhsv(246, 81%, 51%)
CMYKcmyk(72.3%, 80.8%, 0%, 49%)
CIE-LABlab(18.72, 38.97, -56.35)
CIE-LCHlch(18.72, 68.51, 304.66°)
OKLaboklab(31.65% 0.0177 -0.1629)
OKLCHoklch(31.65% 0.164 276.2)
XYZxyz(5.1031, 2.6816, 21.3634)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241982 #778219
analogous
#194282 #241982 #591982
triadic
#241982 #822419 #198224
tetradic
#241982 #821942 #778219 #198259
square
#241982 #821942 #778219 #198259
split-complementary
#241982 #825919 #428219
monochromatic
#08051B #160F4F #241982 #3223B5 #4C3CD9

Accessibility & contrast

On white

13.67
#241982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241982
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241982#FFFFFF#000000##FFFFFF
##2419821.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003285
Deuteranopia (green-blind)
#002980
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241982;
/* rgb */ color: rgb(36, 25, 130);
/* oklch */ color: oklch(31.6% 0.164 276.2);
Tailwind
colors: {
  custom: {
    50: '#6f59a7',
    500: '#241982',
    950: '#000000',
  },
}
SCSS
$custom: #241982;
$custom-light: #6f59a7;
$custom-dark: #000000;
JSON
{
  "hex": "#241982",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 246.286,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31647,
    "c": 0.16386,
    "h": 276.2
  },
  "luminance": 0.02682
}

Semantic roles & 50–950 ramp

primary
#241982
secondary
#AAB641
accent
#EB3DD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #241982

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

Preview Lab → · Contrast checker → · Palette generator →

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