#241480#241480

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

Color values

HEX#241480
RGBrgb(36, 20, 128)
HSLhsl(249, 73%, 29%)
HSVhsv(249, 84%, 50%)
CMYKcmyk(71.9%, 84.4%, 0%, 49.8%)
CIE-LABlab(17.61, 40.85, -56.92)
CIE-LCHlch(17.61, 70.06, 305.67°)
OKLaboklab(30.81% 0.0206 -0.1645)
OKLCHoklch(30.81% 0.166 277.1)
XYZxyz(4.8727, 2.4334, 20.6308)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241480 #708014
analogous
#143A80 #241480 #5A1480
triadic
#241480 #802414 #148024
tetradic
#241480 #80143A #708014 #14805A
square
#241480 #80143A #708014 #14805A
split-complementary
#241480 #805A14 #3A8014
monochromatic
#07041A #150C4B #241480 #331CB5 #4A30DF

Accessibility & contrast

On white

14.12
#241480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241480
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241480#FFFFFF#000000##FFFFFF
##2414801.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241480;
/* rgb */ color: rgb(36, 20, 128);
/* oklch */ color: oklch(30.8% 0.166 277.1);
Tailwind
colors: {
  custom: {
    50: '#6f56a6',
    500: '#241480',
    950: '#000000',
  },
}
SCSS
$custom: #241480;
$custom-light: #6f56a6;
$custom-dark: #000000;
JSON
{
  "hex": "#241480",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 248.889,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3081,
    "c": 0.16574,
    "h": 277.1
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#241480
secondary
#A3B53B
accent
#F038D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241480

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

Preview Lab → · Contrast checker → · Palette generator →

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