#242490#242490

#242490 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.171 H 273.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#242490
RGBrgb(36, 36, 144)
HSLhsl(240, 60%, 35%)
HSVhsv(240, 75%, 56%)
CMYKcmyk(75%, 75%, 0%, 43.5%)
CIE-LABlab(22.48, 37.46, -58.92)
CIE-LCHlch(22.48, 69.82, 302.45°)
OKLaboklab(34.76% 0.0091 -0.1705)
OKLCHoklch(34.76% 0.171 273.1)
XYZxyz(6.3908, 3.6498, 26.7478)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242490 #909024
analogous
#245A90 #242490 #5A2490
triadic
#242490 #902424 #249024
tetradic
#242490 #90245A #909024 #24905A
square
#242490 #90245A #909024 #24905A
split-complementary
#242490 #905A24 #5A9024
monochromatic
#0C0C2E #18185F #242490 #3030C1 #5959D5

Accessibility & contrast

On white

12.14
#242490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#242490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242490
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242490#FFFFFF#000000##FFFFFF
##2424901.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #242490;
/* rgb */ color: rgb(36, 36, 144);
/* oklch */ color: oklch(34.8% 0.171 273.1);
Tailwind
colors: {
  custom: {
    50: '#7160b2',
    500: '#242490',
    950: '#000000',
  },
}
SCSS
$custom: #242490;
$custom-light: #7160b2;
$custom-dark: #000000;
JSON
{
  "hex": "#242490",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 240,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3476,
    "c": 0.17071,
    "h": 273.1
  },
  "luminance": 0.0365
}

Semantic roles & 50–950 ramp

primary
#242490
secondary
#BABA56
accent
#E345E3
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242490

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

Preview Lab → · Contrast checker → · Palette generator →

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