#242073#242073

#242073 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.137 H 277.0°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#242073
RGBrgb(36, 32, 115)
HSLhsl(243, 56%, 29%)
HSVhsv(243, 72%, 45%)
CMYKcmyk(68.7%, 72.2%, 0%, 54.9%)
CIE-LABlab(18.56, 29.70, -47.03)
CIE-LCHlch(18.56, 55.62, 302.27°)
OKLaboklab(31.05% 0.0166 -0.1358)
OKLCHoklch(31.05% 0.137 277)
XYZxyz(4.3376, 2.6455, 16.4984)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242073 #6F7320
analogous
#204673 #242073 #4E2073
triadic
#242073 #732420 #207324
tetradic
#242073 #732046 #6F7320 #20734E
square
#242073 #732046 #6F7320 #20734E
split-complementary
#242073 #734E20 #467320
monochromatic
#070718 #151343 #242073 #332DA3 #4943CB

Accessibility & contrast

On white

13.73
#242073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#242073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242073
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242073#FFFFFF#000000##FFFFFF
##2420731.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #242073;
/* rgb */ color: rgb(36, 32, 115);
/* oklch */ color: oklch(31.1% 0.137 277.0);
Tailwind
colors: {
  custom: {
    50: '#6a5c9c',
    500: '#242073',
    950: '#000000',
  },
}
SCSS
$custom: #242073;
$custom-light: #6a5c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#242073",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 242.892,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31051,
    "c": 0.13677,
    "h": 277
  },
  "luminance": 0.02646
}

Semantic roles & 50–950 ramp

primary
#242073
secondary
#A2A748
accent
#E048D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #242073

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

Preview Lab → · Contrast checker → · Palette generator →

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