#242373#242373

#242373 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.133 H 276.2°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#242373
RGBrgb(36, 35, 115)
HSLhsl(241, 53%, 29%)
HSVhsv(241, 70%, 45%)
CMYKcmyk(68.7%, 69.6%, 0%, 54.9%)
CIE-LABlab(19.29, 27.74, -45.85)
CIE-LCHlch(19.29, 53.59, 301.17°)
OKLaboklab(31.57% 0.0143 -0.1323)
OKLCHoklch(31.57% 0.133 276.2)
XYZxyz(4.4221, 2.8146, 16.5266)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242373 #727323
analogous
#234A73 #242373 #4C2373
triadic
#242373 #732423 #237324
tetradic
#242373 #73234A #727323 #23734C
square
#242373 #73234A #727323 #23734C
split-complementary
#242373 #734C23 #4A7323
monochromatic
#070717 #151544 #242373 #3331A2 #4A49C8

Accessibility & contrast

On white

13.44
#242373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#242373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242373
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242373#FFFFFF#000000##FFFFFF
##2423731.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #242373;
/* rgb */ color: rgb(36, 35, 115);
/* oklch */ color: oklch(31.6% 0.133 276.2);
Tailwind
colors: {
  custom: {
    50: '#6a5e9c',
    500: '#242373',
    950: '#000000',
  },
}
SCSS
$custom: #242373;
$custom-light: #6a5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#242373",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 115
  },
  "hsl": {
    "h": 240.75,
    "s": 53.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31572,
    "c": 0.13307,
    "h": 276.2
  },
  "luminance": 0.02815
}

Semantic roles & 50–950 ramp

primary
#242373
secondary
#A5A64C
accent
#DD4BDB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #242373

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

Preview Lab → · Contrast checker → · Palette generator →

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