#242489#242489

#242489 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.162 H 273.7°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#242489
RGBrgb(36, 36, 137)
HSLhsl(240, 58%, 34%)
HSVhsv(240, 74%, 54%)
CMYKcmyk(73.7%, 73.7%, 0%, 46.3%)
CIE-LABlab(21.74, 35.01, -55.78)
CIE-LCHlch(21.74, 65.86, 302.12°)
OKLaboklab(34.01% 0.0103 -0.1613)
OKLCHoklch(34.01% 0.162 273.7)
XYZxyz(5.8723, 3.4424, 24.0170)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242489 #898924
analogous
#245789 #242489 #572489
triadic
#242489 #892424 #248924
tetradic
#242489 #892457 #898924 #248957
square
#242489 #892457 #898924 #248957
split-complementary
#242489 #895724 #578924
monochromatic
#0B0B28 #171759 #242489 #3131B9 #5555D2

Accessibility & contrast

On white

12.44
#242489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#242489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242489
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242489#FFFFFF#000000##FFFFFF
##2424891.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242489;
/* rgb */ color: rgb(36, 36, 137);
/* oklch */ color: oklch(34.0% 0.162 273.7);
Tailwind
colors: {
  custom: {
    50: '#6f60ac',
    500: '#242489',
    950: '#000000',
  },
}
SCSS
$custom: #242489;
$custom-light: #6f60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#242489",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 240,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34007,
    "c": 0.16166,
    "h": 273.7
  },
  "luminance": 0.03443
}

Semantic roles & 50–950 ramp

primary
#242489
secondary
#B7B752
accent
#E246E2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #242489

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

Preview Lab → · Contrast checker → · Palette generator →

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