#241788#241788

#241788 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.173 H 275.6°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#241788
RGBrgb(36, 23, 136)
HSLhsl(247, 71%, 31%)
HSVhsv(247, 83%, 53%)
CMYKcmyk(73.5%, 83.1%, 0%, 46.7%)
CIE-LABlab(19.08, 41.93, -59.55)
CIE-LCHlch(19.08, 72.83, 305.15°)
OKLaboklab(32.1% 0.0169 -0.1721)
OKLCHoklch(32.1% 0.173 275.6)
XYZxyz(5.4764, 2.7649, 23.5328)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241788 #7B8817
analogous
#174288 #241788 #5C1788
triadic
#241788 #882417 #178824
tetradic
#241788 #881742 #7B8817 #17885C
square
#241788 #881742 #7B8817 #17885C
split-complementary
#241788 #885C17 #428817
monochromatic
#08051F #160E54 #241788 #3220BC #4E3BDE

Accessibility & contrast

On white

13.52
#241788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241788
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241788#FFFFFF#000000##FFFFFF
##2417881.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.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: #241788;
/* rgb */ color: rgb(36, 23, 136);
/* oklch */ color: oklch(32.1% 0.173 275.6);
Tailwind
colors: {
  custom: {
    50: '#7058ac',
    500: '#241788',
    950: '#000000',
  },
}
SCSS
$custom: #241788;
$custom-light: #7058ac;
$custom-dark: #000000;
JSON
{
  "hex": "#241788",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 246.903,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32102,
    "c": 0.17298,
    "h": 275.6
  },
  "luminance": 0.02765
}

Semantic roles & 50–950 ramp

primary
#241788
secondary
#ADBC3F
accent
#EE3AD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #241788

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

Preview Lab → · Contrast checker → · Palette generator →

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