#241B89#241B89

#241B89 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.171 H 275.0°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#241B89
RGBrgb(36, 27, 137)
HSLhsl(245, 67%, 32%)
HSVhsv(245, 80%, 54%)
CMYKcmyk(73.7%, 80.3%, 0%, 46.3%)
CIE-LABlab(19.90, 40.20, -58.81)
CIE-LCHlch(19.90, 71.24, 304.35°)
OKLaboklab(32.71% 0.0149 -0.1701)
OKLCHoklch(32.71% 0.171 275)
XYZxyz(5.6334, 2.9645, 23.9374)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B89 #80891B
analogous
#1B4989 #241B89 #5B1B89
triadic
#241B89 #89241B #1B8924
tetradic
#241B89 #891B49 #80891B #1B895B
square
#241B89 #891B49 #80891B #1B895B
split-complementary
#241B89 #895B1B #49891B
monochromatic
#090723 #171156 #241B89 #3125BC #5044DA

Accessibility & contrast

On white

13.18
#241B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#241B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241B89
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B89#FFFFFF#000000##FFFFFF
##241B891.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #241b89;
/* rgb */ color: rgb(36, 27, 137);
/* oklch */ color: oklch(32.7% 0.171 275.0);
Tailwind
colors: {
  custom: {
    50: '#705aad',
    500: '#241b89',
    950: '#000000',
  },
}
SCSS
$custom: #241b89;
$custom-light: #705aad;
$custom-dark: #000000;
JSON
{
  "hex": "#241b89",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 244.909,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32711,
    "c": 0.17071,
    "h": 275
  },
  "luminance": 0.02965
}

Semantic roles & 50–950 ramp

primary
#241B89
secondary
#B2BC44
accent
#EA3EDC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #241B89

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

Preview Lab → · Contrast checker → · Palette generator →

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