#241981#241981

#241981 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.163 H 276.3°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#241981
RGBrgb(36, 25, 129)
HSLhsl(246, 68%, 30%)
HSVhsv(246, 81%, 51%)
CMYKcmyk(72.1%, 80.6%, 0%, 49.4%)
CIE-LABlab(18.60, 38.64, -55.91)
CIE-LCHlch(18.60, 67.97, 304.65°)
OKLaboklab(31.53% 0.018 -0.1616)
OKLCHoklch(31.53% 0.163 276.3)
XYZxyz(5.0363, 2.6548, 21.0116)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241981 #768119
analogous
#194281 #241981 #581981
triadic
#241981 #812419 #198124
tetradic
#241981 #811942 #768119 #198158
square
#241981 #811942 #768119 #198158
split-complementary
#241981 #815819 #428119
monochromatic
#07051A #160F4E #241981 #3223B4 #4C3BD9

Accessibility & contrast

On white

13.72
#241981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#241981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241981
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241981#FFFFFF#000000##FFFFFF
##2419811.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#00297F
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #241981;
/* rgb */ color: rgb(36, 25, 129);
/* oklch */ color: oklch(31.5% 0.163 276.3);
Tailwind
colors: {
  custom: {
    50: '#6e58a7',
    500: '#241981',
    950: '#000000',
  },
}
SCSS
$custom: #241981;
$custom-light: #6e58a7;
$custom-dark: #000000;
JSON
{
  "hex": "#241981",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 246.346,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31532,
    "c": 0.16261,
    "h": 276.3
  },
  "luminance": 0.02655
}

Semantic roles & 50–950 ramp

primary
#241981
secondary
#A9B541
accent
#EA3DD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #241981

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

Preview Lab → · Contrast checker → · Palette generator →

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