#242576#242576

#242576 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.135 H 275.2°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#242576
RGBrgb(36, 37, 118)
HSLhsl(239, 53%, 30%)
HSVhsv(239, 69%, 46%)
CMYKcmyk(69.5%, 68.6%, 0%, 53.7%)
CIE-LABlab(20.07, 27.51, -46.49)
CIE-LCHlch(20.07, 54.03, 300.62°)
OKLaboklab(32.23% 0.0123 -0.1342)
OKLCHoklch(32.23% 0.135 275.2)
XYZxyz(4.6581, 3.0058, 17.4707)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242576 #767524
analogous
#244E76 #242576 #4C2476
triadic
#242576 #762425 #257624
tetradic
#242576 #76244E #767524 #24764C
square
#242576 #76244E #767524 #24764C
split-complementary
#242576 #764C24 #4E7624
monochromatic
#070818 #161647 #242576 #3234A5 #4C4EC8

Accessibility & contrast

On white

13.12
#242576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#242576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242576
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242576#FFFFFF#000000##FFFFFF
##2425761.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #242576;
/* rgb */ color: rgb(36, 37, 118);
/* oklch */ color: oklch(32.2% 0.135 275.2);
Tailwind
colors: {
  custom: {
    50: '#6b609e',
    500: '#242576',
    950: '#000000',
  },
}
SCSS
$custom: #242576;
$custom-light: #6b609e;
$custom-dark: #000000;
JSON
{
  "hex": "#242576",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 239.268,
    "s": 53.247,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32227,
    "c": 0.13475,
    "h": 275.2
  },
  "luminance": 0.03006
}

Semantic roles & 50–950 ramp

primary
#242576
secondary
#A9A84D
accent
#DB4BDD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #242576

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

Preview Lab → · Contrast checker → · Palette generator →

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