#242190#242190

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

Color values

HEX#242190
RGBrgb(36, 33, 144)
HSLhsl(242, 63%, 35%)
HSVhsv(242, 77%, 56%)
CMYKcmyk(75%, 77.1%, 0%, 43.5%)
CIE-LABlab(21.86, 39.22, -59.94)
CIE-LCHlch(21.86, 71.63, 303.19°)
OKLaboklab(34.32% 0.0106 -0.1734)
OKLCHoklch(34.32% 0.174 273.5)
XYZxyz(6.3038, 3.4758, 26.7188)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242190 #8D9021
analogous
#215590 #242190 #5C2190
triadic
#242190 #902421 #219024
tetradic
#242190 #902155 #8D9021 #21905C
square
#242190 #902155 #8D9021 #21905C
split-complementary
#242190 #905C21 #559021
monochromatic
#0B0A2C #18165E #242190 #302CC2 #5754D8

Accessibility & contrast

On white

12.39
#242190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242190
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242190#FFFFFF#000000##FFFFFF
##2421901.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #242190;
/* rgb */ color: rgb(36, 33, 144);
/* oklch */ color: oklch(34.3% 0.174 273.5);
Tailwind
colors: {
  custom: {
    50: '#715eb2',
    500: '#242190',
    950: '#000000',
  },
}
SCSS
$custom: #242190;
$custom-light: #715eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#242190",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 241.622,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34319,
    "c": 0.17375,
    "h": 273.5
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#242190
secondary
#B8BB51
accent
#E642E1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #242190

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

Preview Lab → · Contrast checker → · Palette generator →

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