#242593#242593

#242593 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.173 H 272.7°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#242593
RGBrgb(36, 37, 147)
HSLhsl(239, 61%, 36%)
HSVhsv(239, 76%, 58%)
CMYKcmyk(75.5%, 74.8%, 0%, 42.4%)
CIE-LABlab(23.01, 37.91, -59.89)
CIE-LCHlch(23.01, 70.88, 302.33°)
OKLaboklab(35.24% 0.0081 -0.1733)
OKLCHoklch(35.24% 0.174 272.7)
XYZxyz(6.6538, 3.8041, 27.9817)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242593 #939224
analogous
#245C93 #242593 #5A2493
triadic
#242593 #932425 #259324
tetradic
#242593 #93245C #939224 #24935A
square
#242593 #93245C #939224 #24935A
split-complementary
#242593 #935A24 #5C9324
monochromatic
#0C0C31 #181962 #242593 #3031C4 #5B5CD7

Accessibility & contrast

On white

11.93
#242593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#242593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242593
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242593#FFFFFF#000000##FFFFFF
##2425931.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #242593;
/* rgb */ color: rgb(36, 37, 147);
/* oklch */ color: oklch(35.2% 0.173 272.7);
Tailwind
colors: {
  custom: {
    50: '#7261b4',
    500: '#242593',
    950: '#000000',
  },
}
SCSS
$custom: #242593;
$custom-light: #7261b4;
$custom-dark: #000000;
JSON
{
  "hex": "#242593",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 147
  },
  "hsl": {
    "h": 239.459,
    "s": 60.656,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35236,
    "c": 0.1735,
    "h": 272.7
  },
  "luminance": 0.03805
}

Semantic roles & 50–950 ramp

primary
#242593
secondary
#BBBA57
accent
#E244E4
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242593

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

Preview Lab → · Contrast checker → · Palette generator →

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