#241B83#241B83

#241B83 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.163 H 275.8°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#241B83
RGBrgb(36, 27, 131)
HSLhsl(245, 66%, 31%)
HSVhsv(245, 79%, 51%)
CMYKcmyk(72.5%, 79.4%, 0%, 48.6%)
CIE-LABlab(19.21, 38.22, -56.17)
CIE-LCHlch(19.21, 67.94, 304.23°)
OKLaboklab(32.03% 0.0165 -0.1624)
OKLCHoklch(32.03% 0.163 275.8)
XYZxyz(5.2149, 2.7971, 21.7334)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B83 #7A831B
analogous
#1B4683 #241B83 #581B83
triadic
#241B83 #83241B #1B8324
tetradic
#241B83 #831B46 #7A831B #1B8358
square
#241B83 #831B46 #7A831B #1B8358
split-complementary
#241B83 #83581B #46831B
monochromatic
#08061E #161150 #241B83 #3225B6 #4E41D8

Accessibility & contrast

On white

13.46
#241B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#241B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241B83
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B83#FFFFFF#000000##FFFFFF
##241B831.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002A81
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #241b83;
/* rgb */ color: rgb(36, 27, 131);
/* oklch */ color: oklch(32.0% 0.163 275.8);
Tailwind
colors: {
  custom: {
    50: '#6f5aa8',
    500: '#241b83',
    950: '#000000',
  },
}
SCSS
$custom: #241b83;
$custom-light: #6f5aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#241b83",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 245.192,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32025,
    "c": 0.16323,
    "h": 275.8
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#241B83
secondary
#ACB643
accent
#E93FDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #241B83

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

Preview Lab → · Contrast checker → · Palette generator →

#241B83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva