#242099#242099

#242099 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.186 H 272.8°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#242099
RGBrgb(36, 32, 153)
HSLhsl(242, 65%, 36%)
HSVhsv(242, 79%, 60%)
CMYKcmyk(76.5%, 79.1%, 0%, 40%)
CIE-LABlab(22.68, 42.78, -64.14)
CIE-LCHlch(22.68, 77.10, 303.70°)
OKLaboklab(35.2% 0.0091 -0.1856)
OKLCHoklch(35.2% 0.186 272.8)
XYZxyz(6.9919, 3.7073, 30.4779)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242099 #959920
analogous
#205999 #242099 #612099
triadic
#242099 #992420 #209924
tetradic
#242099 #992059 #959920 #209961
square
#242099 #992059 #959920 #209961
split-complementary
#242099 #996120 #599920
monochromatic
#0C0B34 #181566 #242099 #302BCC #5C57DC

Accessibility & contrast

On white

12.06
#242099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242099
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242099#FFFFFF#000000##FFFFFF
##2420991.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00455C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #242099;
/* rgb */ color: rgb(36, 32, 153);
/* oklch */ color: oklch(35.2% 0.186 272.8);
Tailwind
colors: {
  custom: {
    50: '#745eb8',
    500: '#242099',
    950: '#000000',
  },
}
SCSS
$custom: #242099;
$custom-light: #745eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#242099",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 241.983,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35197,
    "c": 0.18584,
    "h": 272.8
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#242099
secondary
#BCC055
accent
#E83FE3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #242099

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

Preview Lab → · Contrast checker → · Palette generator →

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