#242574#242574

#242574 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.132 H 275.4°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#242574
RGBrgb(36, 37, 116)
HSLhsl(239, 53%, 30%)
HSVhsv(239, 69%, 45%)
CMYKcmyk(69%, 68.1%, 0%, 54.5%)
CIE-LABlab(19.88, 26.78, -45.52)
CIE-LCHlch(19.88, 52.81, 300.46°)
OKLaboklab(32.03% 0.0125 -0.1313)
OKLCHoklch(32.03% 0.132 275.4)
XYZxyz(4.5405, 2.9588, 16.8514)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242574 #747324
analogous
#244D74 #242574 #4B2474
triadic
#242574 #742425 #257424
tetradic
#242574 #74244D #747324 #24744B
square
#242574 #74244D #747324 #24744B
split-complementary
#242574 #744B24 #4D7424
monochromatic
#070717 #161645 #242574 #3234A3 #4B4DC7

Accessibility & contrast

On white

13.19
#242574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242574
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242574#FFFFFF#000000##FFFFFF
##2425741.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #242574;
/* rgb */ color: rgb(36, 37, 116);
/* oklch */ color: oklch(32.0% 0.132 275.4);
Tailwind
colors: {
  custom: {
    50: '#6a609d',
    500: '#242574',
    950: '#000000',
  },
}
SCSS
$custom: #242574;
$custom-light: #6a609d;
$custom-dark: #000000;
JSON
{
  "hex": "#242574",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 116
  },
  "hsl": {
    "h": 239.25,
    "s": 52.632,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32031,
    "c": 0.13192,
    "h": 275.4
  },
  "luminance": 0.02959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242574

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

Preview Lab → · Contrast checker → · Palette generator →

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