#241589#241589

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

Color values

HEX#241589
RGBrgb(36, 21, 137)
HSLhsl(248, 73%, 31%)
HSVhsv(248, 85%, 54%)
CMYKcmyk(73.7%, 84.7%, 0%, 46.3%)
CIE-LABlab(18.87, 43.19, -60.51)
CIE-LCHlch(18.87, 74.35, 305.52°)
OKLaboklab(32% 0.0174 -0.1749)
OKLCHoklch(32% 0.176 275.7)
XYZxyz(5.5096, 2.7170, 23.8961)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241589 #7A8915
analogous
#154089 #241589 #5E1589
triadic
#241589 #892415 #158924
tetradic
#241589 #891540 #7A8915 #15895E
square
#241589 #891540 #7A8915 #15895E
split-complementary
#241589 #895E15 #408915
monochromatic
#08051F #160D54 #241589 #321DBE #4E38E0

Accessibility & contrast

On white

13.60
#241589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241589
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241589#FFFFFF#000000##FFFFFF
##2415891.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002987
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241589;
/* rgb */ color: rgb(36, 21, 137);
/* oklch */ color: oklch(32.0% 0.176 275.7);
Tailwind
colors: {
  custom: {
    50: '#7157ad',
    500: '#241589',
    950: '#000000',
  },
}
SCSS
$custom: #241589;
$custom-light: #7157ad;
$custom-dark: #000000;
JSON
{
  "hex": "#241589",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 247.759,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31997,
    "c": 0.17577,
    "h": 275.7
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #241589

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

Preview Lab → · Contrast checker → · Palette generator →

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