#242992#242992

#242992 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.168 H 272.1°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#242992
RGBrgb(36, 41, 146)
HSLhsl(237, 60%, 36%)
HSVhsv(237, 75%, 57%)
CMYKcmyk(75.3%, 71.9%, 0%, 42.7%)
CIE-LABlab(23.79, 35.11, -57.99)
CIE-LCHlch(23.79, 67.80, 301.19°)
OKLaboklab(35.76% 0.0061 -0.1678)
OKLCHoklch(35.76% 0.168 272.1)
XYZxyz(6.7070, 4.0356, 27.6140)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242992 #928D24
analogous
#246092 #242992 #562492
triadic
#242992 #922429 #299224
tetradic
#242992 #922460 #928D24 #249256
square
#242992 #922460 #928D24 #249256
split-complementary
#242992 #925624 #609224
monochromatic
#0C0D30 #181B61 #242992 #3037C3 #5A60D6

Accessibility & contrast

On white

11.62
#242992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#242992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242992
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242992#FFFFFF#000000##FFFFFF
##2429921.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #242992;
/* rgb */ color: rgb(36, 41, 146);
/* oklch */ color: oklch(35.8% 0.168 272.1);
Tailwind
colors: {
  custom: {
    50: '#7163b3',
    500: '#242992',
    950: '#000000',
  },
}
SCSS
$custom: #242992;
$custom-light: #7163b3;
$custom-dark: #000000;
JSON
{
  "hex": "#242992",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 237.273,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3576,
    "c": 0.16791,
    "h": 272.1
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#242992
secondary
#BBB657
accent
#DC44E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #242992

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

Preview Lab → · Contrast checker → · Palette generator →

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