#242575#242575

#242575 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.133 H 275.3°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#242575
RGBrgb(36, 37, 117)
HSLhsl(239, 53%, 30%)
HSVhsv(239, 69%, 46%)
CMYKcmyk(69.2%, 68.4%, 0%, 54.1%)
CIE-LABlab(19.97, 27.14, -46.01)
CIE-LCHlch(19.97, 53.42, 300.54°)
OKLaboklab(32.13% 0.0124 -0.1328)
OKLCHoklch(32.13% 0.133 275.3)
XYZxyz(4.5990, 2.9822, 17.1594)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242575 #757424
analogous
#244E75 #242575 #4B2475
triadic
#242575 #752425 #257524
tetradic
#242575 #75244E #757424 #24754B
square
#242575 #75244E #757424 #24754B
split-complementary
#242575 #754B24 #4E7524
monochromatic
#070717 #161646 #242575 #3234A4 #4C4DC8

Accessibility & contrast

On white

13.15
#242575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242575
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242575#FFFFFF#000000##FFFFFF
##2425751.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242575;
/* rgb */ color: rgb(36, 37, 117);
/* oklch */ color: oklch(32.1% 0.133 275.3);
Tailwind
colors: {
  custom: {
    50: '#6a609e',
    500: '#242575',
    950: '#000000',
  },
}
SCSS
$custom: #242575;
$custom-light: #6a609e;
$custom-dark: #000000;
JSON
{
  "hex": "#242575",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 239.259,
    "s": 52.941,
    "l": 30
  },
  "oklch": {
    "l": 0.32129,
    "c": 0.13334,
    "h": 275.3
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#242575
secondary
#A8A74D
accent
#DB4BDC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #242575

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

Preview Lab → · Contrast checker → · Palette generator →

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