#241588#241588

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

Color values

HEX#241588
RGBrgb(36, 21, 136)
HSLhsl(248, 73%, 31%)
HSVhsv(248, 85%, 53%)
CMYKcmyk(73.5%, 84.6%, 0%, 46.7%)
CIE-LABlab(18.75, 42.88, -60.09)
CIE-LCHlch(18.75, 73.82, 305.51°)
OKLaboklab(31.88% 0.0177 -0.1737)
OKLCHoklch(31.88% 0.175 275.8)
XYZxyz(5.4382, 2.6884, 23.5201)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241588 #798815
analogous
#153F88 #241588 #5D1588
triadic
#241588 #882415 #158824
tetradic
#241588 #88153F #798815 #15885D
square
#241588 #88153F #798815 #15885D
split-complementary
#241588 #885D15 #3F8815
monochromatic
#08051E #160D53 #241588 #321DBD #4D37E0

Accessibility & contrast

On white

13.66
#241588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241588
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241588#FFFFFF#000000##FFFFFF
##2415881.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241588;
/* rgb */ color: rgb(36, 21, 136);
/* oklch */ color: oklch(31.9% 0.175 275.8);
Tailwind
colors: {
  custom: {
    50: '#7057ac',
    500: '#241588',
    950: '#000000',
  },
}
SCSS
$custom: #241588;
$custom-light: #7057ac;
$custom-dark: #000000;
JSON
{
  "hex": "#241588",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 136
  },
  "hsl": {
    "h": 247.826,
    "s": 73.248,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31877,
    "c": 0.17458,
    "h": 275.8
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#241588
secondary
#ACBC3D
accent
#F038D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #241588

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

Preview Lab → · Contrast checker → · Palette generator →

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