#242292#242292

#242292 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.175 H 273.2°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#242292
RGBrgb(36, 34, 146)
HSLhsl(241, 62%, 35%)
HSVhsv(241, 77%, 57%)
CMYKcmyk(75.3%, 76.7%, 0%, 42.7%)
CIE-LABlab(22.28, 39.32, -60.48)
CIE-LCHlch(22.28, 72.14, 303.03°)
OKLaboklab(34.68% 0.0097 -0.175)
OKLCHoklch(34.68% 0.175 273.2)
XYZxyz(6.4862, 3.5938, 27.5404)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242292 #909222
analogous
#225892 #242292 #5C2292
triadic
#242292 #922422 #229224
tetradic
#242292 #922258 #909222 #22925C
square
#242292 #922258 #909222 #22925C
split-complementary
#242292 #925C22 #589222
monochromatic
#0C0B2F #181660 #242292 #302EC4 #5957D8

Accessibility & contrast

On white

12.22
#242292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#242292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242292
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242292#FFFFFF#000000##FFFFFF
##2422921.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003090
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #242292;
/* rgb */ color: rgb(36, 34, 146);
/* oklch */ color: oklch(34.7% 0.175 273.2);
Tailwind
colors: {
  custom: {
    50: '#725fb3',
    500: '#242292',
    950: '#000000',
  },
}
SCSS
$custom: #242292;
$custom-light: #725fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#242292",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 241.071,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34684,
    "c": 0.17528,
    "h": 273.2
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#242292
secondary
#BABC54
accent
#E543E2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242292

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

Preview Lab → · Contrast checker → · Palette generator →

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