#241684#241684

#241684 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.169 H 276.3°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#241684
RGBrgb(36, 22, 132)
HSLhsl(248, 71%, 30%)
HSVhsv(248, 83%, 52%)
CMYKcmyk(72.7%, 83.3%, 0%, 48.2%)
CIE-LABlab(18.43, 41.15, -58.10)
CIE-LCHlch(18.43, 71.20, 305.31°)
OKLaboklab(31.51% 0.0185 -0.1679)
OKLCHoklch(31.51% 0.169 276.3)
XYZxyz(5.1780, 2.6143, 22.0571)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241684 #768416
analogous
#163F84 #241684 #5B1684
triadic
#241684 #842416 #168424
tetradic
#241684 #84163F #768416 #16845B
square
#241684 #84163F #768416 #16845B
split-complementary
#241684 #845B16 #3F8416
monochromatic
#07051B #160D50 #241684 #321FB8 #4C37DE

Accessibility & contrast

On white

13.79
#241684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#241684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241684
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241684#FFFFFF#000000##FFFFFF
##2416841.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003187
Deuteranopia (green-blind)
#002882
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #241684;
/* rgb */ color: rgb(36, 22, 132);
/* oklch */ color: oklch(31.5% 0.169 276.3);
Tailwind
colors: {
  custom: {
    50: '#6f57a9',
    500: '#241684',
    950: '#000000',
  },
}
SCSS
$custom: #241684;
$custom-light: #6f57a9;
$custom-dark: #000000;
JSON
{
  "hex": "#241684",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 132
  },
  "hsl": {
    "h": 247.636,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31513,
    "c": 0.16894,
    "h": 276.3
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#241684
secondary
#A9B83D
accent
#EE3AD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #241684

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

Preview Lab → · Contrast checker → · Palette generator →

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