#242379#242379

#242379 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.141 H 275.5°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#242379
RGBrgb(36, 35, 121)
HSLhsl(241, 55%, 31%)
HSVhsv(241, 71%, 47%)
CMYKcmyk(70.2%, 71.1%, 0%, 52.5%)
CIE-LABlab(19.87, 29.92, -48.73)
CIE-LCHlch(19.87, 57.19, 301.55°)
OKLaboklab(32.17% 0.0135 -0.1407)
OKLCHoklch(32.17% 0.141 275.5)
XYZxyz(4.7786, 2.9572, 18.4044)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242379 #787923
analogous
#234D79 #242379 #4F2379
triadic
#242379 #792423 #237924
tetradic
#242379 #79234D #787923 #23794F
square
#242379 #79234D #787923 #23794F
split-complementary
#242379 #794F23 #4D7923
monochromatic
#08081A #16154A #242379 #3231A8 #4D4BCB

Accessibility & contrast

On white

13.19
#242379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#242379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242379
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242379#FFFFFF#000000##FFFFFF
##2423791.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #242379;
/* rgb */ color: rgb(36, 35, 121);
/* oklch */ color: oklch(32.2% 0.141 275.5);
Tailwind
colors: {
  custom: {
    50: '#6b5ea1',
    500: '#242379',
    950: '#000000',
  },
}
SCSS
$custom: #242379;
$custom-light: #6b5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#242379",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 240.698,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32175,
    "c": 0.14139,
    "h": 275.5
  },
  "luminance": 0.02958
}

Semantic roles & 50–950 ramp

primary
#242379
secondary
#ABAC4C
accent
#DE49DD
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #242379

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

Preview Lab → · Contrast checker → · Palette generator →

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