#242293#242293

#242293 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.177 H 273.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#242293
RGBrgb(36, 34, 147)
HSLhsl(241, 62%, 35%)
HSVhsv(241, 77%, 58%)
CMYKcmyk(75.5%, 76.9%, 0%, 42.4%)
CIE-LABlab(22.39, 39.66, -60.92)
CIE-LCHlch(22.39, 72.69, 303.07°)
OKLaboklab(34.8% 0.0095 -0.1763)
OKLCHoklch(34.8% 0.177 273.1)
XYZxyz(6.5643, 3.6250, 27.9519)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242293 #919322
analogous
#225893 #242293 #5C2293
triadic
#242293 #932422 #229324
tetradic
#242293 #932258 #919322 #22935C
square
#242293 #932258 #919322 #22935C
split-complementary
#242293 #935C22 #589322
monochromatic
#0C0B30 #181761 #242293 #302DC5 #5957D8

Accessibility & contrast

On white

12.17
#242293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#242293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242293
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242293#FFFFFF#000000##FFFFFF
##2422931.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242293;
/* rgb */ color: rgb(36, 34, 147);
/* oklch */ color: oklch(34.8% 0.177 273.1);
Tailwind
colors: {
  custom: {
    50: '#725fb4',
    500: '#242293',
    950: '#000000',
  },
}
SCSS
$custom: #242293;
$custom-light: #725fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#242293",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 241.062,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34795,
    "c": 0.17654,
    "h": 273.1
  },
  "luminance": 0.03626
}

Semantic roles & 50–950 ramp

primary
#242293
secondary
#BABC55
accent
#E542E3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242293

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

Preview Lab → · Contrast checker → · Palette generator →

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