#242792#242792

#242792 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.170 H 272.4°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#242792
RGBrgb(36, 39, 146)
HSLhsl(238, 60%, 36%)
HSVhsv(238, 75%, 57%)
CMYKcmyk(75.3%, 73.3%, 0%, 42.7%)
CIE-LABlab(23.34, 36.35, -58.73)
CIE-LCHlch(23.34, 69.07, 301.75°)
OKLaboklab(35.44% 0.0072 -0.1699)
OKLCHoklch(35.44% 0.17 272.4)
XYZxyz(6.6396, 3.9007, 27.5916)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242792 #928F24
analogous
#245E92 #242792 #582492
triadic
#242792 #922427 #279224
tetradic
#242792 #92245E #928F24 #249258
square
#242792 #92245E #928F24 #249258
split-complementary
#242792 #925824 #5E9224
monochromatic
#0C0D30 #181A61 #242792 #3034C3 #5A5DD6

Accessibility & contrast

On white

11.80
#242792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#242792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242792
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242792#FFFFFF#000000##FFFFFF
##2427921.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242792;
/* rgb */ color: rgb(36, 39, 146);
/* oklch */ color: oklch(35.4% 0.170 272.4);
Tailwind
colors: {
  custom: {
    50: '#7162b3',
    500: '#242792',
    950: '#000000',
  },
}
SCSS
$custom: #242792;
$custom-light: #7162b3;
$custom-dark: #000000;
JSON
{
  "hex": "#242792",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 238.364,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35439,
    "c": 0.1701,
    "h": 272.4
  },
  "luminance": 0.03901
}

Semantic roles & 50–950 ramp

primary
#242792
secondary
#BBB857
accent
#DF44E4
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #242792

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

Preview Lab → · Contrast checker → · Palette generator →

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