#241988#241988

#241988 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.171 H 275.4°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#241988
RGBrgb(36, 25, 136)
HSLhsl(246, 69%, 32%)
HSVhsv(246, 82%, 53%)
CMYKcmyk(73.5%, 81.6%, 0%, 46.7%)
CIE-LABlab(19.42, 40.92, -58.97)
CIE-LCHlch(19.42, 71.78, 304.76°)
OKLaboklab(32.34% 0.0161 -0.1705)
OKLCHoklch(32.34% 0.171 275.4)
XYZxyz(5.5177, 2.8474, 23.5466)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241988 #7D8819
analogous
#194688 #241988 #5C1988
triadic
#241988 #882419 #198824
tetradic
#241988 #881946 #7D8819 #19885C
square
#241988 #881946 #7D8819 #19885C
split-complementary
#241988 #885C19 #468819
monochromatic
#090621 #160F54 #241988 #3223BC #4F40DC

Accessibility & contrast

On white

13.38
#241988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#241988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241988
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241988#FFFFFF#000000##FFFFFF
##2419881.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241988;
/* rgb */ color: rgb(36, 25, 136);
/* oklch */ color: oklch(32.3% 0.171 275.4);
Tailwind
colors: {
  custom: {
    50: '#7059ac',
    500: '#241988',
    950: '#000000',
  },
}
SCSS
$custom: #241988;
$custom-light: #7059ac;
$custom-dark: #000000;
JSON
{
  "hex": "#241988",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 245.946,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32342,
    "c": 0.17128,
    "h": 275.4
  },
  "luminance": 0.02848
}

Semantic roles & 50–950 ramp

primary
#241988
secondary
#AFBB41
accent
#EC3CDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #241988

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

Preview Lab → · Contrast checker → · Palette generator →

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