#242892#242892

#242892 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.169 H 272.3°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#242892
RGBrgb(36, 40, 146)
HSLhsl(238, 60%, 36%)
HSVhsv(238, 75%, 57%)
CMYKcmyk(75.3%, 72.6%, 0%, 42.7%)
CIE-LABlab(23.56, 35.74, -58.37)
CIE-LCHlch(23.56, 68.44, 301.48°)
OKLaboklab(35.6% 0.0067 -0.1689)
OKLCHoklch(35.6% 0.169 272.3)
XYZxyz(6.6729, 3.9673, 27.6026)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242892 #928E24
analogous
#245F92 #242892 #572492
triadic
#242892 #922428 #289224
tetradic
#242892 #92245F #928E24 #249257
square
#242892 #92245F #928E24 #249257
split-complementary
#242892 #925724 #5F9224
monochromatic
#0C0D30 #181B61 #242892 #3035C3 #5A5FD6

Accessibility & contrast

On white

11.71
#242892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#242892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242892
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242892#FFFFFF#000000##FFFFFF
##2428921.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242892;
/* rgb */ color: rgb(36, 40, 146);
/* oklch */ color: oklch(35.6% 0.169 272.3);
Tailwind
colors: {
  custom: {
    50: '#7163b3',
    500: '#242892',
    950: '#000000',
  },
}
SCSS
$custom: #242892;
$custom-light: #7163b3;
$custom-dark: #000000;
JSON
{
  "hex": "#242892",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 237.818,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35598,
    "c": 0.16901,
    "h": 272.3
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

primary
#242892
secondary
#BBB757
accent
#DE44E4
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242892

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

Preview Lab → · Contrast checker → · Palette generator →

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