#241792#241792

#241792 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.185 H 274.4°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#241792
RGBrgb(36, 23, 146)
HSLhsl(246, 73%, 33%)
HSVhsv(246, 84%, 57%)
CMYKcmyk(75.3%, 84.2%, 0%, 42.7%)
CIE-LABlab(20.29, 45.06, -63.77)
CIE-LCHlch(20.29, 78.09, 305.24°)
OKLaboklab(33.3% 0.014 -0.1844)
OKLCHoklch(33.3% 0.185 274.4)
XYZxyz(6.2205, 3.0626, 27.4519)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241792 #859217
analogous
#174892 #241792 #611792
triadic
#241792 #922417 #179224
tetradic
#241792 #921748 #859217 #179261
square
#241792 #921748 #859217 #179261
split-complementary
#241792 #926117 #489217
monochromatic
#0A0628 #170F5D #241792 #311FC7 #5342E1

Accessibility & contrast

On white

13.02
#241792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#241792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241792
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241792#FFFFFF#000000##FFFFFF
##2417921.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003695
Deuteranopia (green-blind)
#002B90
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #241792;
/* rgb */ color: rgb(36, 23, 146);
/* oklch */ color: oklch(33.3% 0.185 274.4);
Tailwind
colors: {
  custom: {
    50: '#7359b3',
    500: '#241792',
    950: '#000000',
  },
}
SCSS
$custom: #241792;
$custom-light: #7359b3;
$custom-dark: #000000;
JSON
{
  "hex": "#241792",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 146
  },
  "hsl": {
    "h": 246.341,
    "s": 72.781,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33295,
    "c": 0.18494,
    "h": 274.4
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#241792
secondary
#B4C243
accent
#EF38DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #241792

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

Preview Lab → · Contrast checker → · Palette generator →

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