#242194#242194

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

Color values

HEX#242194
RGBrgb(36, 33, 148)
HSLhsl(242, 64%, 35%)
HSVhsv(242, 78%, 58%)
CMYKcmyk(75.7%, 77.7%, 0%, 42%)
CIE-LABlab(22.30, 40.57, -61.68)
CIE-LCHlch(22.30, 73.83, 303.33°)
OKLaboklab(34.77% 0.0097 -0.1785)
OKLCHoklch(34.77% 0.179 273.1)
XYZxyz(6.6149, 3.6002, 28.3575)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242194 #919421
analogous
#215794 #242194 #5D2194
triadic
#242194 #942421 #219424
tetradic
#242194 #942157 #919421 #21945D
square
#242194 #942157 #919421 #21945D
split-complementary
#242194 #945D21 #579421
monochromatic
#0C0B30 #181662 #242194 #302CC6 #5956D9

Accessibility & contrast

On white

12.21
#242194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#242194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242194
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242194#FFFFFF#000000##FFFFFF
##2421941.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003092
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #242194;
/* rgb */ color: rgb(36, 33, 148);
/* oklch */ color: oklch(34.8% 0.179 273.1);
Tailwind
colors: {
  custom: {
    50: '#725eb5',
    500: '#242194',
    950: '#000000',
  },
}
SCSS
$custom: #242194;
$custom-light: #725eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#242194",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 241.565,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34766,
    "c": 0.17876,
    "h": 273.1
  },
  "luminance": 0.03601
}

Semantic roles & 50–950 ramp

primary
#242194
secondary
#BABD54
accent
#E741E2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #242194

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

Preview Lab → · Contrast checker → · Palette generator →

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