#241682#241682

#241682 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.167 H 276.6°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#241682
RGBrgb(36, 22, 130)
HSLhsl(248, 71%, 30%)
HSVhsv(248, 83%, 51%)
CMYKcmyk(72.3%, 83.1%, 0%, 49%)
CIE-LABlab(18.19, 40.51, -57.23)
CIE-LCHlch(18.19, 70.12, 305.29°)
OKLaboklab(31.28% 0.0191 -0.1654)
OKLCHoklch(31.28% 0.167 276.6)
XYZxyz(5.0424, 2.5601, 21.3432)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241682 #748216
analogous
#163E82 #241682 #5A1682
triadic
#241682 #822416 #168224
tetradic
#241682 #82163E #748216 #16825A
square
#241682 #82163E #748216 #16825A
split-complementary
#241682 #825A16 #3E8216
monochromatic
#07041A #160D4E #241682 #321FB6 #4B35DD

Accessibility & contrast

On white

13.89
#241682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#241682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241682
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241682#FFFFFF#000000##FFFFFF
##2416821.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241682;
/* rgb */ color: rgb(36, 22, 130);
/* oklch */ color: oklch(31.3% 0.167 276.6);
Tailwind
colors: {
  custom: {
    50: '#6f57a8',
    500: '#241682',
    950: '#000000',
  },
}
SCSS
$custom: #241682;
$custom-light: #6f57a8;
$custom-dark: #000000;
JSON
{
  "hex": "#241682",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 130
  },
  "hsl": {
    "h": 247.778,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31277,
    "c": 0.16651,
    "h": 276.6
  },
  "luminance": 0.02561
}

Semantic roles & 50–950 ramp

primary
#241682
secondary
#A7B73D
accent
#EE3AD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #241682

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

Preview Lab → · Contrast checker → · Palette generator →

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