#242089#242089

#242089 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.166 H 274.3°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#242089
RGBrgb(36, 32, 137)
HSLhsl(242, 62%, 33%)
HSVhsv(242, 77%, 54%)
CMYKcmyk(73.7%, 76.6%, 0%, 46.3%)
CIE-LABlab(20.88, 37.41, -57.19)
CIE-LCHlch(20.88, 68.34, 303.19°)
OKLaboklab(33.4% 0.0125 -0.1654)
OKLCHoklch(33.4% 0.166 274.3)
XYZxyz(5.7579, 3.2137, 23.9789)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242089 #858920
analogous
#205089 #242089 #582089
triadic
#242089 #892420 #208924
tetradic
#242089 #892050 #858920 #208958
square
#242089 #892050 #858920 #208958
split-complementary
#242089 #895820 #508920
monochromatic
#0A0926 #171457 #242089 #312CBB #534ED6

Accessibility & contrast

On white

12.78
#242089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#242089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242089
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242089#FFFFFF#000000##FFFFFF
##2420891.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #242089;
/* rgb */ color: rgb(36, 32, 137);
/* oklch */ color: oklch(33.4% 0.166 274.3);
Tailwind
colors: {
  custom: {
    50: '#705dad',
    500: '#242089',
    950: '#000000',
  },
}
SCSS
$custom: #242089;
$custom-light: #705dad;
$custom-dark: #000000;
JSON
{
  "hex": "#242089",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 242.286,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33399,
    "c": 0.16588,
    "h": 274.3
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#242089
secondary
#B4B94C
accent
#E543DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #242089

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

Preview Lab → · Contrast checker → · Palette generator →

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