#241681#241681

#241681 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.2% C 0.165 H 276.7°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#241681
RGBrgb(36, 22, 129)
HSLhsl(248, 71%, 30%)
HSVhsv(248, 83%, 51%)
CMYKcmyk(72.1%, 82.9%, 0%, 49.4%)
CIE-LABlab(18.07, 40.19, -56.80)
CIE-LCHlch(18.07, 69.58, 305.28°)
OKLaboklab(31.16% 0.0194 -0.1641)
OKLCHoklch(31.16% 0.165 276.7)
XYZxyz(4.9756, 2.5334, 20.9914)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241681 #738116
analogous
#163E81 #241681 #591681
triadic
#241681 #812416 #168124
tetradic
#241681 #81163E #738116 #168159
square
#241681 #81163E #738116 #168159
split-complementary
#241681 #815916 #3E8116
monochromatic
#07041A #150D4D #241681 #331FB5 #4B35DD

Accessibility & contrast

On white

13.94
#241681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241681
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241681#FFFFFF#000000##FFFFFF
##2416811.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003084
Deuteranopia (green-blind)
#00277F
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #241681;
/* rgb */ color: rgb(36, 22, 129);
/* oklch */ color: oklch(31.2% 0.165 276.7);
Tailwind
colors: {
  custom: {
    50: '#6f57a7',
    500: '#241681',
    950: '#000000',
  },
}
SCSS
$custom: #241681;
$custom-light: #6f57a7;
$custom-dark: #000000;
JSON
{
  "hex": "#241681",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 247.85,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31159,
    "c": 0.16529,
    "h": 276.7
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #241681

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

Preview Lab → · Contrast checker → · Palette generator →

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