#242376#242376

#242376 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.137 H 275.8°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#242376
RGBrgb(36, 35, 118)
HSLhsl(241, 54%, 30%)
HSVhsv(241, 70%, 46%)
CMYKcmyk(69.5%, 70.3%, 0%, 53.7%)
CIE-LABlab(19.58, 28.83, -47.30)
CIE-LCHlch(19.58, 55.40, 301.37°)
OKLaboklab(31.87% 0.0139 -0.1365)
OKLCHoklch(31.87% 0.137 275.8)
XYZxyz(4.5975, 2.8847, 17.4506)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242376 #757623
analogous
#234B76 #242376 #4E2376
triadic
#242376 #762423 #237624
tetradic
#242376 #76234B #757623 #23764E
square
#242376 #76234B #757623 #23764E
split-complementary
#242376 #764E23 #4B7623
monochromatic
#070718 #161547 #242376 #3231A5 #4C4AC9

Accessibility & contrast

On white

13.32
#242376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#242376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242376
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242376#FFFFFF#000000##FFFFFF
##2423761.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #242376;
/* rgb */ color: rgb(36, 35, 118);
/* oklch */ color: oklch(31.9% 0.137 275.8);
Tailwind
colors: {
  custom: {
    50: '#6b5e9e',
    500: '#242376',
    950: '#000000',
  },
}
SCSS
$custom: #242376;
$custom-light: #6b5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#242376",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 240.723,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.31871,
    "c": 0.13725,
    "h": 275.8
  },
  "luminance": 0.02885
}

Semantic roles & 50–950 ramp

primary
#242376
secondary
#A8A94C
accent
#DE4ADC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #242376

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

Preview Lab → · Contrast checker → · Palette generator →

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