#242092#242092

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

Color values

HEX#242092
RGBrgb(36, 32, 146)
HSLhsl(242, 64%, 35%)
HSVhsv(242, 78%, 57%)
CMYKcmyk(75.3%, 78.1%, 0%, 42.7%)
CIE-LABlab(21.88, 40.45, -61.14)
CIE-LCHlch(21.88, 73.31, 303.49°)
OKLaboklab(34.4% 0.0106 -0.1769)
OKLCHoklch(34.4% 0.177 273.4)
XYZxyz(6.4306, 3.4828, 27.5219)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242092 #8E9220
analogous
#205592 #242092 #5D2092
triadic
#242092 #922420 #209224
tetradic
#242092 #922055 #8E9220 #20925D
square
#242092 #922055 #8E9220 #20925D
split-complementary
#242092 #925D20 #559220
monochromatic
#0B0A2E #181560 #242092 #302BC4 #5853D9

Accessibility & contrast

On white

12.38
#242092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242092
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242092#FFFFFF#000000##FFFFFF
##2420921.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242092;
/* rgb */ color: rgb(36, 32, 146);
/* oklch */ color: oklch(34.4% 0.177 273.4);
Tailwind
colors: {
  custom: {
    50: '#725eb3',
    500: '#242092',
    950: '#000000',
  },
}
SCSS
$custom: #242092;
$custom-light: #725eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#242092",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 242.105,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34403,
    "c": 0.17722,
    "h": 273.4
  },
  "luminance": 0.03483
}

Semantic roles & 50–950 ramp

primary
#242092
secondary
#B9BD51
accent
#E741E1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #242092

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

Preview Lab → · Contrast checker → · Palette generator →

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