#242579#242579

#242579 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.139 H 274.9°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#242579
RGBrgb(36, 37, 121)
HSLhsl(239, 54%, 31%)
HSVhsv(239, 70%, 47%)
CMYKcmyk(70.2%, 69.4%, 0%, 52.5%)
CIE-LABlab(20.35, 28.62, -47.94)
CIE-LCHlch(20.35, 55.83, 300.83°)
OKLaboklab(32.52% 0.012 -0.1384)
OKLCHoklch(32.52% 0.139 274.9)
XYZxyz(4.8392, 3.0782, 18.4246)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242579 #797824
analogous
#244F79 #242579 #4D2479
triadic
#242579 #792425 #257924
tetradic
#242579 #79244F #797824 #24794D
square
#242579 #79244F #797824 #24794D
split-complementary
#242579 #794D24 #4F7924
monochromatic
#08081B #16174A #242579 #3233A8 #4D4FCA

Accessibility & contrast

On white

13.00
#242579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#242579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242579
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242579#FFFFFF#000000##FFFFFF
##2425791.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #242579;
/* rgb */ color: rgb(36, 37, 121);
/* oklch */ color: oklch(32.5% 0.139 274.9);
Tailwind
colors: {
  custom: {
    50: '#6b60a1',
    500: '#242579',
    950: '#000000',
  },
}
SCSS
$custom: #242579;
$custom-light: #6b60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#242579",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 239.294,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32524,
    "c": 0.13894,
    "h": 274.9
  },
  "luminance": 0.03079
}

Semantic roles & 50–950 ramp

primary
#242579
secondary
#ACAA4D
accent
#DC4ADE
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #242579

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

Preview Lab → · Contrast checker → · Palette generator →

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