#242591#242591

#242591 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.171 H 272.8°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#242591
RGBrgb(36, 37, 145)
HSLhsl(239, 60%, 35%)
HSVhsv(239, 75%, 57%)
CMYKcmyk(75.2%, 74.5%, 0%, 43.1%)
CIE-LABlab(22.80, 37.21, -59.01)
CIE-LCHlch(22.80, 69.76, 302.24°)
OKLaboklab(35.02% 0.0084 -0.1707)
OKLCHoklch(35.02% 0.171 272.8)
XYZxyz(6.4982, 3.7419, 27.1624)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242591 #919024
analogous
#245B91 #242591 #5A2491
triadic
#242591 #912425 #259124
tetradic
#242591 #91245B #919024 #24915A
square
#242591 #91245B #919024 #24915A
split-complementary
#242591 #915A24 #5B9124
monochromatic
#0C0C2F #181860 #242591 #3032C2 #595BD6

Accessibility & contrast

On white

12.01
#242591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#242591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242591
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242591#FFFFFF#000000##FFFFFF
##2425911.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00318F
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #242591;
/* rgb */ color: rgb(36, 37, 145);
/* oklch */ color: oklch(35.0% 0.171 272.8);
Tailwind
colors: {
  custom: {
    50: '#7161b2',
    500: '#242591',
    950: '#000000',
  },
}
SCSS
$custom: #242591;
$custom-light: #7161b2;
$custom-dark: #000000;
JSON
{
  "hex": "#242591",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 239.45,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3502,
    "c": 0.17095,
    "h": 272.8
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#242591
secondary
#BAB956
accent
#E244E3
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242591

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

Preview Lab → · Contrast checker → · Palette generator →

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