#242094#242094

#242094 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.180 H 273.2°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#242094
RGBrgb(36, 32, 148)
HSLhsl(242, 64%, 35%)
HSVhsv(242, 78%, 58%)
CMYKcmyk(75.7%, 78.4%, 0%, 42%)
CIE-LABlab(22.11, 41.12, -62.00)
CIE-LCHlch(22.11, 74.40, 303.55°)
OKLaboklab(34.63% 0.0102 -0.1794)
OKLCHoklch(34.63% 0.18 273.2)
XYZxyz(6.5876, 3.5455, 28.3484)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242094 #909420
analogous
#205694 #242094 #5E2094
triadic
#242094 #942420 #209424
tetradic
#242094 #942056 #909420 #20945E
square
#242094 #942056 #909420 #20945E
split-complementary
#242094 #945E20 #569420
monochromatic
#0C0A2F #181562 #242094 #302BC6 #5954DA

Accessibility & contrast

On white

12.29
#242094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#242094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242094
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242094#FFFFFF#000000##FFFFFF
##2420941.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#002F92
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #242094;
/* rgb */ color: rgb(36, 32, 148);
/* oklch */ color: oklch(34.6% 0.180 273.2);
Tailwind
colors: {
  custom: {
    50: '#725eb5',
    500: '#242094',
    950: '#000000',
  },
}
SCSS
$custom: #242094;
$custom-light: #725eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#242094",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 242.069,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34629,
    "c": 0.1797,
    "h": 273.2
  },
  "luminance": 0.03546
}

Semantic roles & 50–950 ramp

primary
#242094
secondary
#BABE52
accent
#E740E2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #242094

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

Preview Lab → · Contrast checker → · Palette generator →

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