#241687#241687

#241687 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.173 H 275.9°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#241687
RGBrgb(36, 22, 135)
HSLhsl(247, 72%, 31%)
HSVhsv(247, 84%, 53%)
CMYKcmyk(73.3%, 83.7%, 0%, 47.1%)
CIE-LABlab(18.79, 42.10, -59.39)
CIE-LCHlch(18.79, 72.80, 305.33°)
OKLaboklab(31.87% 0.0176 -0.1717)
OKLCHoklch(31.87% 0.173 275.9)
XYZxyz(5.3862, 2.6976, 23.1538)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241687 #798716
analogous
#164087 #241687 #5C1687
triadic
#241687 #872416 #168724
tetradic
#241687 #871640 #798716 #16875C
square
#241687 #871640 #798716 #16875C
split-complementary
#241687 #875C16 #408716
monochromatic
#08051E #160D52 #241687 #321FBC #4D39DF

Accessibility & contrast

On white

13.64
#241687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#241687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241687
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241687#FFFFFF#000000##FFFFFF
##2416871.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328A
Deuteranopia (green-blind)
#002985
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241687;
/* rgb */ color: rgb(36, 22, 135);
/* oklch */ color: oklch(31.9% 0.173 275.9);
Tailwind
colors: {
  custom: {
    50: '#7057ab',
    500: '#241687',
    950: '#000000',
  },
}
SCSS
$custom: #241687;
$custom-light: #7057ab;
$custom-dark: #000000;
JSON
{
  "hex": "#241687",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 247.434,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31869,
    "c": 0.17258,
    "h": 275.9
  },
  "luminance": 0.02698
}

Semantic roles & 50–950 ramp

primary
#241687
secondary
#ACBB3E
accent
#EF39D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #241687

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

Preview Lab → · Contrast checker → · Palette generator →

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