#242595#242595

#242595 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.176 H 272.5°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#242595
RGBrgb(36, 37, 149)
HSLhsl(239, 61%, 36%)
HSVhsv(239, 76%, 58%)
CMYKcmyk(75.8%, 75.2%, 0%, 41.6%)
CIE-LABlab(23.23, 38.60, -60.77)
CIE-LCHlch(23.23, 72.00, 302.43°)
OKLaboklab(35.45% 0.0077 -0.1759)
OKLCHoklch(35.45% 0.176 272.5)
XYZxyz(6.8121, 3.8674, 28.8154)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242595 #959424
analogous
#245E95 #242595 #5C2495
triadic
#242595 #952425 #259524
tetradic
#242595 #95245E #959424 #24955C
square
#242595 #95245E #959424 #24955C
split-complementary
#242595 #955C24 #5E9524
monochromatic
#0C0D32 #181964 #242595 #3031C6 #5C5DD8

Accessibility & contrast

On white

11.84
#242595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#242595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242595
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242595#FFFFFF#000000##FFFFFF
##2425951.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #242595;
/* rgb */ color: rgb(36, 37, 149);
/* oklch */ color: oklch(35.5% 0.176 272.5);
Tailwind
colors: {
  custom: {
    50: '#7261b5',
    500: '#242595',
    950: '#000000',
  },
}
SCSS
$custom: #242595;
$custom-light: #7261b5;
$custom-dark: #000000;
JSON
{
  "hex": "#242595",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 239.469,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35454,
    "c": 0.17604,
    "h": 272.5
  },
  "luminance": 0.03868
}

Semantic roles & 50–950 ramp

primary
#242595
secondary
#BCBB59
accent
#E344E4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242595

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

Preview Lab → · Contrast checker → · Palette generator →

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