#242191#242191

#242191 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.175 H 273.4°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#242191
RGBrgb(36, 33, 145)
HSLhsl(242, 63%, 35%)
HSVhsv(242, 77%, 57%)
CMYKcmyk(75.2%, 77.2%, 0%, 43.1%)
CIE-LABlab(21.97, 39.55, -60.38)
CIE-LCHlch(21.97, 72.18, 303.23°)
OKLaboklab(34.43% 0.0104 -0.1747)
OKLCHoklch(34.43% 0.175 273.4)
XYZxyz(6.3805, 3.5065, 27.1231)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242191 #8E9121
analogous
#215691 #242191 #5C2191
triadic
#242191 #912421 #219124
tetradic
#242191 #912156 #8E9121 #21915C
square
#242191 #912156 #8E9121 #21915C
split-complementary
#242191 #915C21 #569121
monochromatic
#0B0A2D #18165F #242191 #302CC3 #5854D8

Accessibility & contrast

On white

12.34
#242191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#242191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242191
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242191#FFFFFF#000000##FFFFFF
##2421911.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#002F8F
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #242191;
/* rgb */ color: rgb(36, 33, 145);
/* oklch */ color: oklch(34.4% 0.175 273.4);
Tailwind
colors: {
  custom: {
    50: '#725eb2',
    500: '#242191',
    950: '#000000',
  },
}
SCSS
$custom: #242191;
$custom-light: #725eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#242191",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 241.607,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34431,
    "c": 0.17501,
    "h": 273.4
  },
  "luminance": 0.03507
}

Semantic roles & 50–950 ramp

primary
#242191
secondary
#B9BC52
accent
#E642E2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #242191

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

Preview Lab → · Contrast checker → · Palette generator →

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