#242196#242196

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

Color values

HEX#242196
RGBrgb(36, 33, 150)
HSLhsl(242, 64%, 36%)
HSVhsv(242, 78%, 59%)
CMYKcmyk(76%, 78%, 0%, 41.2%)
CIE-LABlab(22.53, 41.24, -62.54)
CIE-LCHlch(22.53, 74.92, 303.40°)
OKLaboklab(34.99% 0.0093 -0.181)
OKLCHoklch(34.99% 0.181 272.9)
XYZxyz(6.7746, 3.6641, 29.1985)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242196 #939621
analogous
#215996 #242196 #5E2196
triadic
#242196 #962421 #219624
tetradic
#242196 #962159 #939621 #21965E
square
#242196 #962159 #939621 #21965E
split-complementary
#242196 #965E21 #599621
monochromatic
#0C0B32 #181664 #242196 #302CC8 #5B57DA

Accessibility & contrast

On white

12.12
#242196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242196
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242196#FFFFFF#000000##FFFFFF
##2421961.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242196;
/* rgb */ color: rgb(36, 33, 150);
/* oklch */ color: oklch(35.0% 0.181 272.9);
Tailwind
colors: {
  custom: {
    50: '#735eb6',
    500: '#242196',
    950: '#000000',
  },
}
SCSS
$custom: #242196;
$custom-light: #735eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#242196",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 241.538,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.34991,
    "c": 0.18123,
    "h": 272.9
  },
  "luminance": 0.03665
}

Semantic roles & 50–950 ramp

primary
#242196
secondary
#BBBE55
accent
#E741E3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #242196

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

Preview Lab → · Contrast checker → · Palette generator →

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