#242389#242389

#242389 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.163 H 273.8°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#242389
RGBrgb(36, 35, 137)
HSLhsl(241, 59%, 34%)
HSVhsv(241, 74%, 54%)
CMYKcmyk(73.7%, 74.5%, 0%, 46.3%)
CIE-LABlab(21.52, 35.62, -56.14)
CIE-LCHlch(21.52, 66.49, 302.39°)
OKLaboklab(33.85% 0.0109 -0.1624)
OKLCHoklch(33.85% 0.163 273.8)
XYZxyz(5.8424, 3.3827, 24.0071)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242389 #888923
analogous
#235589 #242389 #572389
triadic
#242389 #892423 #238924
tetradic
#242389 #892355 #888923 #238957
square
#242389 #892355 #888923 #238957
split-complementary
#242389 #895723 #558923
monochromatic
#0A0A28 #171758 #242389 #312FBA #5553D3

Accessibility & contrast

On white

12.53
#242389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#242389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242389
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242389#FFFFFF#000000##FFFFFF
##2423891.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #242389;
/* rgb */ color: rgb(36, 35, 137);
/* oklch */ color: oklch(33.9% 0.163 273.8);
Tailwind
colors: {
  custom: {
    50: '#6f5fad',
    500: '#242389',
    950: '#000000',
  },
}
SCSS
$custom: #242389;
$custom-light: #6f5fad;
$custom-dark: #000000;
JSON
{
  "hex": "#242389",
  "rgb": {
    "r": 36,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 240.588,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33851,
    "c": 0.16274,
    "h": 273.8
  },
  "luminance": 0.03383
}

Semantic roles & 50–950 ramp

primary
#242389
secondary
#B6B751
accent
#E245E1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #242389

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

Preview Lab → · Contrast checker → · Palette generator →

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