#241281#241281

#241281 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.7% C 0.169 H 277.2°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#241281
RGBrgb(36, 18, 129)
HSLhsl(250, 76%, 29%)
HSVhsv(250, 86%, 51%)
CMYKcmyk(72.1%, 86%, 0%, 49.4%)
CIE-LABlab(17.42, 42.08, -57.87)
CIE-LCHlch(17.42, 71.55, 306.03°)
OKLaboklab(30.71% 0.021 -0.1672)
OKLCHoklch(30.71% 0.169 277.2)
XYZxyz(4.9050, 2.3922, 20.9679)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241281 #6F8112
analogous
#123881 #241281 #5C1281
triadic
#241281 #812412 #128124
tetradic
#241281 #811238 #6F8112 #12815C
square
#241281 #811238 #6F8112 #12815C
split-complementary
#241281 #815C12 #388112
monochromatic
#07041B #150B4B #241281 #3319B7 #492CE2

Accessibility & contrast

On white

14.20
#241281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#241281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241281
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241281#FFFFFF#000000##FFFFFF
##2412811.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.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: #241281;
/* rgb */ color: rgb(36, 18, 129);
/* oklch */ color: oklch(30.7% 0.169 277.2);
Tailwind
colors: {
  custom: {
    50: '#6f55a7',
    500: '#241281',
    950: '#000000',
  },
}
SCSS
$custom: #241281;
$custom-light: #6f55a7;
$custom-dark: #000000;
JSON
{
  "hex": "#241281",
  "rgb": {
    "r": 36,
    "g": 18,
    "b": 129
  },
  "hsl": {
    "h": 249.73,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30714,
    "c": 0.1685,
    "h": 277.2
  },
  "luminance": 0.02393
}

Semantic roles & 50–950 ramp

primary
#241281
secondary
#A2B738
accent
#F236D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #241281

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

Preview Lab → · Contrast checker → · Palette generator →

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