#241782#241782

#241782 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.166 H 276.5°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#241782
RGBrgb(36, 23, 130)
HSLhsl(247, 70%, 30%)
HSVhsv(247, 82%, 51%)
CMYKcmyk(72.3%, 82.3%, 0%, 49%)
CIE-LABlab(18.36, 40.01, -56.95)
CIE-LCHlch(18.36, 69.60, 305.09°)
OKLaboklab(31.4% 0.0186 -0.1646)
OKLCHoklch(31.4% 0.166 276.5)
XYZxyz(5.0619, 2.5991, 21.3497)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241782 #758217
analogous
#173F82 #241782 #5A1782
triadic
#241782 #822417 #178224
tetradic
#241782 #82173F #758217 #17825A
square
#241782 #82173F #758217 #17825A
split-complementary
#241782 #825A17 #3F8217
monochromatic
#07051A #160E4E #241782 #3220B6 #4C38DC

Accessibility & contrast

On white

13.82
#241782 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#241782 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241782
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241782#FFFFFF#000000##FFFFFF
##2417821.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003185
Deuteranopia (green-blind)
#002880
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #241782;
/* rgb */ color: rgb(36, 23, 130);
/* oklch */ color: oklch(31.4% 0.166 276.5);
Tailwind
colors: {
  custom: {
    50: '#6f57a8',
    500: '#241782',
    950: '#000000',
  },
}
SCSS
$custom: #241782;
$custom-light: #6f57a8;
$custom-dark: #000000;
JSON
{
  "hex": "#241782",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 130
  },
  "hsl": {
    "h": 247.29,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.31397,
    "c": 0.16565,
    "h": 276.5
  },
  "luminance": 0.026
}

Semantic roles & 50–950 ramp

primary
#241782
secondary
#A8B63E
accent
#ED3BD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #241782

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

Preview Lab → · Contrast checker → · Palette generator →

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