#241888#241888

#241888 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.172 H 275.5°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#241888
RGBrgb(36, 24, 136)
HSLhsl(246, 70%, 31%)
HSVhsv(246, 82%, 53%)
CMYKcmyk(73.5%, 82.4%, 0%, 46.7%)
CIE-LABlab(19.25, 41.43, -59.26)
CIE-LCHlch(19.25, 72.31, 304.96°)
OKLaboklab(32.22% 0.0165 -0.1713)
OKLCHoklch(32.22% 0.172 275.5)
XYZxyz(5.4967, 2.8054, 23.5396)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241888 #7C8818
analogous
#184488 #241888 #5C1888
triadic
#241888 #882418 #188824
tetradic
#241888 #881844 #7C8818 #18885C
square
#241888 #881844 #7C8818 #18885C
split-complementary
#241888 #885C18 #448818
monochromatic
#080620 #160F54 #241888 #3221BC #4F3EDD

Accessibility & contrast

On white

13.45
#241888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#241888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241888
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241888#FFFFFF#000000##FFFFFF
##2418881.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338B
Deuteranopia (green-blind)
#002A86
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #241888;
/* rgb */ color: rgb(36, 24, 136);
/* oklch */ color: oklch(32.2% 0.172 275.5);
Tailwind
colors: {
  custom: {
    50: '#7058ac',
    500: '#241888',
    950: '#000000',
  },
}
SCSS
$custom: #241888;
$custom-light: #7058ac;
$custom-dark: #000000;
JSON
{
  "hex": "#241888",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 246.429,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3222,
    "c": 0.17213,
    "h": 275.5
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#241888
secondary
#AEBC40
accent
#ED3BDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #241888

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

Preview Lab → · Contrast checker → · Palette generator →

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