#241381#241381

#241381 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.8% C 0.168 H 277.1°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#241381
RGBrgb(36, 19, 129)
HSLhsl(249, 74%, 29%)
HSVhsv(249, 85%, 51%)
CMYKcmyk(72.1%, 85.3%, 0%, 49.4%)
CIE-LABlab(17.58, 41.63, -57.61)
CIE-LCHlch(17.58, 71.08, 305.85°)
OKLaboklab(30.82% 0.0207 -0.1665)
OKLCHoklch(30.82% 0.168 277.1)
XYZxyz(4.9216, 2.4253, 20.9734)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241381 #708113
analogous
#133981 #241381 #5B1381
triadic
#241381 #812413 #138124
tetradic
#241381 #811339 #708113 #13815B
square
#241381 #811339 #708113 #13815B
split-complementary
#241381 #815B13 #398113
monochromatic
#07041B #150B4C #241381 #331BB6 #4A2EE0

Accessibility & contrast

On white

14.14
#241381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#241381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241381
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241381#FFFFFF#000000##FFFFFF
##2413811.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F84
Deuteranopia (green-blind)
#00267F
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #241381;
/* rgb */ color: rgb(36, 19, 129);
/* oklch */ color: oklch(30.8% 0.168 277.1);
Tailwind
colors: {
  custom: {
    50: '#6f55a7',
    500: '#241381',
    950: '#000000',
  },
}
SCSS
$custom: #241381;
$custom-light: #6f55a7;
$custom-dark: #000000;
JSON
{
  "hex": "#241381",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 249.273,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30819,
    "c": 0.16774,
    "h": 277.1
  },
  "luminance": 0.02426
}

Semantic roles & 50–950 ramp

primary
#241381
secondary
#A3B63A
accent
#F137D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #241381

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

Preview Lab → · Contrast checker → · Palette generator →

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