#242192#242192

#242192 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.176 H 273.3°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#242192
RGBrgb(36, 33, 146)
HSLhsl(242, 63%, 35%)
HSVhsv(242, 77%, 57%)
CMYKcmyk(75.3%, 77.4%, 0%, 42.7%)
CIE-LABlab(22.08, 39.89, -60.82)
CIE-LCHlch(22.08, 72.73, 303.26°)
OKLaboklab(34.54% 0.0102 -0.176)
OKLCHoklch(34.54% 0.176 273.3)
XYZxyz(6.4580, 3.5374, 27.5310)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242192 #8F9221
analogous
#215692 #242192 #5D2192
triadic
#242192 #922421 #219224
tetradic
#242192 #922156 #8F9221 #21925D
square
#242192 #922156 #8F9221 #21925D
split-complementary
#242192 #925D21 #569221
monochromatic
#0B0A2E #181660 #242192 #302CC4 #5855D9

Accessibility & contrast

On white

12.30
#242192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242192
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242192#FFFFFF#000000##FFFFFF
##2421921.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242192;
/* rgb */ color: rgb(36, 33, 146);
/* oklch */ color: oklch(34.5% 0.176 273.3);
Tailwind
colors: {
  custom: {
    50: '#725eb3',
    500: '#242192',
    950: '#000000',
  },
}
SCSS
$custom: #242192;
$custom-light: #725eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#242192",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 241.593,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34542,
    "c": 0.17626,
    "h": 273.3
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242192

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

Preview Lab → · Contrast checker → · Palette generator →

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