#242093#242093

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

Color values

HEX#242093
RGBrgb(36, 32, 147)
HSLhsl(242, 64%, 35%)
HSVhsv(242, 78%, 58%)
CMYKcmyk(75.5%, 78.2%, 0%, 42.4%)
CIE-LABlab(21.99, 40.79, -61.57)
CIE-LCHlch(21.99, 73.86, 303.52°)
OKLaboklab(34.52% 0.0104 -0.1782)
OKLCHoklch(34.52% 0.178 273.3)
XYZxyz(6.5088, 3.5140, 27.9334)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242093 #8F9320
analogous
#205593 #242093 #5D2093
triadic
#242093 #932420 #209324
tetradic
#242093 #932055 #8F9320 #20935D
square
#242093 #932055 #8F9320 #20935D
split-complementary
#242093 #935D20 #559320
monochromatic
#0B0A2E #181561 #242093 #302BC5 #5854DA

Accessibility & contrast

On white

12.33
#242093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242093
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242093#FFFFFF#000000##FFFFFF
##2420931.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242093;
/* rgb */ color: rgb(36, 32, 147);
/* oklch */ color: oklch(34.5% 0.178 273.3);
Tailwind
colors: {
  custom: {
    50: '#725eb4',
    500: '#242093',
    950: '#000000',
  },
}
SCSS
$custom: #242093;
$custom-light: #725eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#242093",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 242.087,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34516,
    "c": 0.17846,
    "h": 273.3
  },
  "luminance": 0.03515
}

Semantic roles & 50–950 ramp

primary
#242093
secondary
#B9BD52
accent
#E741E1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #242093

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

Preview Lab → · Contrast checker → · Palette generator →

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