#242572#242572

#242572 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.129 H 275.6°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#242572
RGBrgb(36, 37, 114)
HSLhsl(239, 52%, 29%)
HSVhsv(239, 68%, 45%)
CMYKcmyk(68.4%, 67.5%, 0%, 55.3%)
CIE-LABlab(19.69, 26.04, -44.54)
CIE-LCHlch(19.69, 51.59, 300.31°)
OKLaboklab(31.84% 0.0127 -0.1285)
OKLCHoklch(31.84% 0.129 275.6)
XYZxyz(4.4254, 2.9127, 16.2453)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242572 #727124
analogous
#244C72 #242572 #4A2472
triadic
#242572 #722425 #257224
tetradic
#242572 #72244C #727124 #24724A
square
#242572 #72244C #727124 #24724A
split-complementary
#242572 #724A24 #4C7224
monochromatic
#070817 #151643 #242572 #3334A1 #4A4CC6

Accessibility & contrast

On white

13.27
#242572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242572
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242572#FFFFFF#000000##FFFFFF
##2425721.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242572;
/* rgb */ color: rgb(36, 37, 114);
/* oklch */ color: oklch(31.8% 0.129 275.6);
Tailwind
colors: {
  custom: {
    50: '#6a5f9b',
    500: '#242572',
    950: '#000000',
  },
}
SCSS
$custom: #242572;
$custom-light: #6a5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#242572",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 114
  },
  "hsl": {
    "h": 239.231,
    "s": 52,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31837,
    "c": 0.12909,
    "h": 275.6
  },
  "luminance": 0.02913
}

Semantic roles & 50–950 ramp

primary
#242572
secondary
#A5A44D
accent
#DA4CDB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #242572

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

Preview Lab → · Contrast checker → · Palette generator →

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