#241B84#241B84

#241B84 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.164 H 275.7°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#241B84
RGBrgb(36, 27, 132)
HSLhsl(245, 66%, 31%)
HSVhsv(245, 80%, 52%)
CMYKcmyk(72.7%, 79.5%, 0%, 48.2%)
CIE-LABlab(19.33, 38.55, -56.62)
CIE-LCHlch(19.33, 68.49, 304.25°)
OKLaboklab(32.14% 0.0162 -0.1637)
OKLCHoklch(32.14% 0.164 275.7)
XYZxyz(5.2830, 2.8244, 22.0921)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B84 #7B841B
analogous
#1B4684 #241B84 #581B84
triadic
#241B84 #84241B #1B8424
tetradic
#241B84 #841B46 #7B841B #1B8458
square
#241B84 #841B46 #7B841B #1B8458
split-complementary
#241B84 #84581B #46841B
monochromatic
#08061E #161151 #241B84 #3225B7 #4E41D8

Accessibility & contrast

On white

13.42
#241B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#241B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241B84
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B84#FFFFFF#000000##FFFFFF
##241B841.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002A82
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #241b84;
/* rgb */ color: rgb(36, 27, 132);
/* oklch */ color: oklch(32.1% 0.164 275.7);
Tailwind
colors: {
  custom: {
    50: '#6f5aa9',
    500: '#241b84',
    950: '#000000',
  },
}
SCSS
$custom: #241b84;
$custom-light: #6f5aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#241b84",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 245.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32139,
    "c": 0.16449,
    "h": 275.7
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #241B84

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

Preview Lab → · Contrast checker → · Palette generator →

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