#242394#242394

#242394 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.177 H 272.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#242394
RGBrgb(36, 35, 148)
HSLhsl(241, 62%, 36%)
HSVhsv(241, 76%, 58%)
CMYKcmyk(75.7%, 76.4%, 0%, 42%)
CIE-LABlab(22.70, 39.43, -61.02)
CIE-LCHlch(22.70, 72.65, 302.87°)
OKLaboklab(35.05% 0.0088 -0.1766)
OKLCHoklch(35.05% 0.177 272.9)
XYZxyz(6.6721, 3.7146, 28.3766)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242394 #939423
analogous
#235A94 #242394 #5C2394
triadic
#242394 #942423 #239424
tetradic
#242394 #94235A #939423 #23945C
square
#242394 #94235A #939423 #23945C
split-complementary
#242394 #945C23 #5A9423
monochromatic
#0C0C31 #181763 #242394 #302FC5 #5B5AD8

Accessibility & contrast

On white

12.05
#242394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#242394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242394
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242394#FFFFFF#000000##FFFFFF
##2423941.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #242394;
/* rgb */ color: rgb(36, 35, 148);
/* oklch */ color: oklch(35.0% 0.177 272.9);
Tailwind
colors: {
  custom: {
    50: '#7260b5',
    500: '#242394',
    950: '#000000',
  },
}
SCSS
$custom: #242394;
$custom-light: #7260b5;
$custom-dark: #000000;
JSON
{
  "hex": "#242394",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 240.531,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3505,
    "c": 0.1768,
    "h": 272.9
  },
  "luminance": 0.03715
}

Semantic roles & 50–950 ramp

primary
#242394
secondary
#BBBC57
accent
#E543E3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242394

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

Preview Lab → · Contrast checker → · Palette generator →

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