#241B8B#241B8B

#241B8B is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.173 H 274.8°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#241B8B
RGBrgb(36, 27, 139)
HSLhsl(245, 67%, 33%)
HSVhsv(245, 81%, 55%)
CMYKcmyk(74.1%, 80.6%, 0%, 45.5%)
CIE-LABlab(20.13, 40.85, -59.68)
CIE-LCHlch(20.13, 72.32, 304.39°)
OKLaboklab(32.94% 0.0144 -0.1726)
OKLCHoklch(32.94% 0.173 274.8)
XYZxyz(5.7781, 3.0224, 24.7000)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B8B #828B1B
analogous
#1B4A8B #241B8B #5C1B8B
triadic
#241B8B #8B241B #1B8B24
tetradic
#241B8B #8B1B4A #828B1B #1B8B5C
square
#241B8B #8B1B4A #828B1B #1B8B5C
split-complementary
#241B8B #8B5C1B #4A8B1B
monochromatic
#090725 #171158 #241B8B #3125BE #5145DB

Accessibility & contrast

On white

13.09
#241B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#241B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241B8B
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B8B#FFFFFF#000000##FFFFFF
##241B8B1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368E
Deuteranopia (green-blind)
#002B89
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #241b8b;
/* rgb */ color: rgb(36, 27, 139);
/* oklch */ color: oklch(32.9% 0.173 274.8);
Tailwind
colors: {
  custom: {
    50: '#715aae',
    500: '#241b8b',
    950: '#000000',
  },
}
SCSS
$custom: #241b8b;
$custom-light: #715aae;
$custom-dark: #000000;
JSON
{
  "hex": "#241b8b",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 244.821,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.32941,
    "c": 0.17319,
    "h": 274.8
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#241B8B
secondary
#B3BC45
accent
#EA3DDC
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #241B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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