#242589#242589

#242589 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.161 H 273.5°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#242589
RGBrgb(36, 37, 137)
HSLhsl(239, 58%, 34%)
HSVhsv(239, 74%, 54%)
CMYKcmyk(73.7%, 73%, 0%, 46.3%)
CIE-LABlab(21.96, 34.39, -55.41)
CIE-LCHlch(21.96, 65.22, 301.83°)
OKLaboklab(34.17% 0.0097 -0.1603)
OKLCHoklch(34.17% 0.161 273.5)
XYZxyz(5.9030, 3.5038, 24.0273)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242589 #898824
analogous
#245889 #242589 #562489
triadic
#242589 #892425 #258924
tetradic
#242589 #892458 #898824 #248956
square
#242589 #892458 #898824 #248956
split-complementary
#242589 #895624 #588924
monochromatic
#0B0B28 #171859 #242589 #3132B9 #5556D2

Accessibility & contrast

On white

12.35
#242589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#242589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242589
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242589#FFFFFF#000000##FFFFFF
##2425891.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #242589;
/* rgb */ color: rgb(36, 37, 137);
/* oklch */ color: oklch(34.2% 0.161 273.5);
Tailwind
colors: {
  custom: {
    50: '#6f60ac',
    500: '#242589',
    950: '#000000',
  },
}
SCSS
$custom: #242589;
$custom-light: #6f60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#242589",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 239.406,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34167,
    "c": 0.16056,
    "h": 273.5
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#242589
secondary
#B7B652
accent
#E046E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #242589

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

Preview Lab → · Contrast checker → · Palette generator →

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