#241487#241487

#241487 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.174 H 276.1°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#241487
RGBrgb(36, 20, 135)
HSLhsl(248, 74%, 30%)
HSVhsv(248, 85%, 53%)
CMYKcmyk(73.3%, 85.2%, 0%, 47.1%)
CIE-LABlab(18.47, 43.03, -59.92)
CIE-LCHlch(18.47, 73.77, 305.68°)
OKLaboklab(31.65% 0.0184 -0.1732)
OKLCHoklch(31.65% 0.174 276.1)
XYZxyz(5.3495, 2.6241, 23.1416)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241487 #778714
analogous
#143D87 #241487 #5D1487
triadic
#241487 #872414 #148724
tetradic
#241487 #87143D #778714 #14875D
square
#241487 #87143D #778714 #14875D
split-complementary
#241487 #875D14 #3D8714
monochromatic
#08041C #160C52 #241487 #321CBC #4C34E1

Accessibility & contrast

On white

13.77
#241487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241487
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241487#FFFFFF#000000##FFFFFF
##2414871.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328A
Deuteranopia (green-blind)
#002885
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #241487;
/* rgb */ color: rgb(36, 20, 135);
/* oklch */ color: oklch(31.6% 0.174 276.1);
Tailwind
colors: {
  custom: {
    50: '#7056ab',
    500: '#241487',
    950: '#000000',
  },
}
SCSS
$custom: #241487;
$custom-light: #7056ab;
$custom-dark: #000000;
JSON
{
  "hex": "#241487",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 135
  },
  "hsl": {
    "h": 248.348,
    "s": 74.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31648,
    "c": 0.17415,
    "h": 276.1
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#241487
secondary
#AABB3B
accent
#F137D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #241487

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

Preview Lab → · Contrast checker → · Palette generator →

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