#242578#242578

#242578 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.4% C 0.138 H 275.0°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#242578
RGBrgb(36, 37, 120)
HSLhsl(239, 54%, 31%)
HSVhsv(239, 70%, 47%)
CMYKcmyk(70%, 69.2%, 0%, 52.9%)
CIE-LABlab(20.26, 28.25, -47.46)
CIE-LCHlch(20.26, 55.23, 300.76°)
OKLaboklab(32.42% 0.0121 -0.137)
OKLCHoklch(32.42% 0.138 275)
XYZxyz(4.7782, 3.0538, 18.1033)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242578 #787724
analogous
#244F78 #242578 #4D2478
triadic
#242578 #782425 #257824
tetradic
#242578 #78244F #787724 #24784D
square
#242578 #78244F #787724 #24784D
split-complementary
#242578 #784D24 #4F7824
monochromatic
#08081A #161649 #242578 #3234A7 #4D4ECA

Accessibility & contrast

On white

13.04
#242578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#242578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242578
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242578#FFFFFF#000000##FFFFFF
##2425781.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242578;
/* rgb */ color: rgb(36, 37, 120);
/* oklch */ color: oklch(32.4% 0.138 275.0);
Tailwind
colors: {
  custom: {
    50: '#6b60a0',
    500: '#242578',
    950: '#000000',
  },
}
SCSS
$custom: #242578;
$custom-light: #6b60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#242578",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 120
  },
  "hsl": {
    "h": 239.286,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32425,
    "c": 0.13755,
    "h": 275
  },
  "luminance": 0.03054
}

Semantic roles & 50–950 ramp

primary
#242578
secondary
#ABA94D
accent
#DB4BDD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #242578

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

Preview Lab → · Contrast checker → · Palette generator →

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