#241688#241688

#241688 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.174 H 275.7°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#241688
RGBrgb(36, 22, 136)
HSLhsl(247, 72%, 31%)
HSVhsv(247, 84%, 53%)
CMYKcmyk(73.5%, 83.8%, 0%, 46.7%)
CIE-LABlab(18.91, 42.41, -59.82)
CIE-LCHlch(18.91, 73.33, 305.33°)
OKLaboklab(31.99% 0.0173 -0.1729)
OKLCHoklch(31.99% 0.174 275.7)
XYZxyz(5.4569, 2.7259, 23.5264)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241688 #7A8816
analogous
#164188 #241688 #5D1688
triadic
#241688 #882416 #168824
tetradic
#241688 #881641 #7A8816 #16885D
square
#241688 #881641 #7A8816 #16885D
split-complementary
#241688 #885D16 #418816
monochromatic
#08051F #160D53 #241688 #321FBD #4E39DF

Accessibility & contrast

On white

13.59
#241688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#241688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241688
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241688#FFFFFF#000000##FFFFFF
##2416881.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338B
Deuteranopia (green-blind)
#002986
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241688;
/* rgb */ color: rgb(36, 22, 136);
/* oklch */ color: oklch(32.0% 0.174 275.7);
Tailwind
colors: {
  custom: {
    50: '#7057ac',
    500: '#241688',
    950: '#000000',
  },
}
SCSS
$custom: #241688;
$custom-light: #7057ac;
$custom-dark: #000000;
JSON
{
  "hex": "#241688",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 136
  },
  "hsl": {
    "h": 247.368,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31988,
    "c": 0.17379,
    "h": 275.7
  },
  "luminance": 0.02726
}

Semantic roles & 50–950 ramp

primary
#241688
secondary
#ACBC3E
accent
#EF39D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #241688

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

Preview Lab → · Contrast checker → · Palette generator →

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