#241B85#241B85

#241B85 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.166 H 275.5°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#241B85
RGBrgb(36, 27, 133)
HSLhsl(245, 66%, 31%)
HSVhsv(245, 80%, 52%)
CMYKcmyk(72.9%, 79.7%, 0%, 47.8%)
CIE-LABlab(19.44, 38.88, -57.06)
CIE-LCHlch(19.44, 69.04, 304.27°)
OKLaboklab(32.25% 0.016 -0.165)
OKLCHoklch(32.25% 0.166 275.5)
XYZxyz(5.3517, 2.8519, 22.4542)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B85 #7C851B
analogous
#1B4785 #241B85 #591B85
triadic
#241B85 #85241B #1B8524
tetradic
#241B85 #851B47 #7C851B #1B8559
square
#241B85 #851B47 #7C851B #1B8559
split-complementary
#241B85 #85591B #47851B
monochromatic
#08061F #161152 #241B85 #3225B8 #4F42D9

Accessibility & contrast

On white

13.37
#241B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241B85
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B85#FFFFFF#000000##FFFFFF
##241B851.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002A83
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #241b85;
/* rgb */ color: rgb(36, 27, 133);
/* oklch */ color: oklch(32.3% 0.166 275.5);
Tailwind
colors: {
  custom: {
    50: '#6f5aaa',
    500: '#241b85',
    950: '#000000',
  },
}
SCSS
$custom: #241b85;
$custom-light: #6f5aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#241b85",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 245.094,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32253,
    "c": 0.16574,
    "h": 275.5
  },
  "luminance": 0.02852
}

Semantic roles & 50–950 ramp

primary
#241B85
secondary
#AEB844
accent
#E93FDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #241B85

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

Preview Lab → · Contrast checker → · Palette generator →

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