#241686#241686

#241686 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.171 H 276.0°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#241686
RGBrgb(36, 22, 134)
HSLhsl(248, 72%, 31%)
HSVhsv(248, 84%, 53%)
CMYKcmyk(73.1%, 83.6%, 0%, 47.5%)
CIE-LABlab(18.67, 41.78, -58.96)
CIE-LCHlch(18.67, 72.27, 305.32°)
OKLaboklab(31.75% 0.0179 -0.1704)
OKLCHoklch(31.75% 0.171 276)
XYZxyz(5.3161, 2.6696, 22.7848)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241686 #788616
analogous
#164086 #241686 #5C1686
triadic
#241686 #862416 #168624
tetradic
#241686 #861640 #788616 #16865C
square
#241686 #861640 #788616 #16865C
split-complementary
#241686 #865C16 #408616
monochromatic
#08051D #160D51 #241686 #321FBB #4D38DE

Accessibility & contrast

On white

13.69
#241686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241686
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241686#FFFFFF#000000##FFFFFF
##2416861.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002884
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #241686;
/* rgb */ color: rgb(36, 22, 134);
/* oklch */ color: oklch(31.8% 0.171 276.0);
Tailwind
colors: {
  custom: {
    50: '#7057aa',
    500: '#241686',
    950: '#000000',
  },
}
SCSS
$custom: #241686;
$custom-light: #7057aa;
$custom-dark: #000000;
JSON
{
  "hex": "#241686",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 247.5,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3175,
    "c": 0.17138,
    "h": 276
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #241686

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

Preview Lab → · Contrast checker → · Palette generator →

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