#241280#241280

#241280 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.6% C 0.167 H 277.3°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#241280
RGBrgb(36, 18, 128)
HSLhsl(250, 75%, 29%)
HSVhsv(250, 86%, 50%)
CMYKcmyk(71.9%, 85.9%, 0%, 49.8%)
CIE-LABlab(17.30, 41.78, -57.44)
CIE-LCHlch(17.30, 71.02, 306.03°)
OKLaboklab(30.59% 0.0214 -0.1659)
OKLCHoklch(30.59% 0.167 277.3)
XYZxyz(4.8389, 2.3658, 20.6195)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241280 #6E8012
analogous
#123780 #241280 #5B1280
triadic
#241280 #802412 #128024
tetradic
#241280 #801237 #6E8012 #12805B
square
#241280 #801237 #6E8012 #12805B
split-complementary
#241280 #805B12 #378012
monochromatic
#08041B #150A4A #241280 #331AB6 #492BE1

Accessibility & contrast

On white

14.25
#241280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#241280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241280
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241280#FFFFFF#000000##FFFFFF
##2412801.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #241280;
/* rgb */ color: rgb(36, 18, 128);
/* oklch */ color: oklch(30.6% 0.167 277.3);
Tailwind
colors: {
  custom: {
    50: '#6f55a6',
    500: '#241280',
    950: '#000000',
  },
}
SCSS
$custom: #241280;
$custom-light: #6f55a6;
$custom-dark: #000000;
JSON
{
  "hex": "#241280",
  "rgb": {
    "r": 36,
    "g": 18,
    "b": 128
  },
  "hsl": {
    "h": 249.818,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30593,
    "c": 0.16731,
    "h": 277.3
  },
  "luminance": 0.02366
}

Semantic roles & 50–950 ramp

primary
#241280
secondary
#A1B638
accent
#F236D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241280

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

Preview Lab → · Contrast checker → · Palette generator →

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