#242573#242573

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

Color values

HEX#242573
RGBrgb(36, 37, 115)
HSLhsl(239, 52%, 30%)
HSVhsv(239, 69%, 45%)
CMYKcmyk(68.7%, 67.8%, 0%, 54.9%)
CIE-LABlab(19.78, 26.41, -45.03)
CIE-LCHlch(19.78, 52.20, 300.39°)
OKLaboklab(31.93% 0.0126 -0.1299)
OKLCHoklch(31.93% 0.131 275.5)
XYZxyz(4.4826, 2.9356, 16.5467)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242573 #737224
analogous
#244C73 #242573 #4B2473
triadic
#242573 #732425 #257324
tetradic
#242573 #73244C #737224 #24734B
square
#242573 #73244C #737224 #24734B
split-complementary
#242573 #734B24 #4C7324
monochromatic
#070717 #151644 #242573 #3334A2 #4B4CC7

Accessibility & contrast

On white

13.23
#242573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242573
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242573#FFFFFF#000000##FFFFFF
##2425731.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #242573;
/* rgb */ color: rgb(36, 37, 115);
/* oklch */ color: oklch(31.9% 0.131 275.5);
Tailwind
colors: {
  custom: {
    50: '#6a609c',
    500: '#242573',
    950: '#000000',
  },
}
SCSS
$custom: #242573;
$custom-light: #6a609c;
$custom-dark: #000000;
JSON
{
  "hex": "#242573",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 239.241,
    "s": 52.318,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31934,
    "c": 0.13051,
    "h": 275.5
  },
  "luminance": 0.02936
}

Semantic roles & 50–950 ramp

primary
#242573
secondary
#A6A54D
accent
#DA4CDC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #242573

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

Preview Lab → · Contrast checker → · Palette generator →

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