#242193#242193

#242193 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.178 H 273.2°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#242193
RGBrgb(36, 33, 147)
HSLhsl(242, 63%, 35%)
HSVhsv(242, 78%, 58%)
CMYKcmyk(75.5%, 77.6%, 0%, 42.4%)
CIE-LABlab(22.19, 40.23, -61.25)
CIE-LCHlch(22.19, 73.28, 303.30°)
OKLaboklab(34.65% 0.0099 -0.1772)
OKLCHoklch(34.65% 0.178 273.2)
XYZxyz(6.5361, 3.5687, 27.9425)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242193 #909321
analogous
#215793 #242193 #5D2193
triadic
#242193 #932421 #219324
tetradic
#242193 #932157 #909321 #21935D
square
#242193 #932157 #909321 #21935D
split-complementary
#242193 #935D21 #579321
monochromatic
#0C0B2F #181661 #242193 #302CC5 #5955D9

Accessibility & contrast

On white

12.25
#242193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#242193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242193
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242193#FFFFFF#000000##FFFFFF
##2421931.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #242193;
/* rgb */ color: rgb(36, 33, 147);
/* oklch */ color: oklch(34.7% 0.178 273.2);
Tailwind
colors: {
  custom: {
    50: '#725eb4',
    500: '#242193',
    950: '#000000',
  },
}
SCSS
$custom: #242193;
$custom-light: #725eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#242193",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 241.579,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34654,
    "c": 0.17751,
    "h": 273.2
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#242193
secondary
#BABD53
accent
#E641E2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #242193

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

Preview Lab → · Contrast checker → · Palette generator →

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