#241B82#241B82

#241B82 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.162 H 275.9°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#241B82
RGBrgb(36, 27, 130)
HSLhsl(245, 66%, 31%)
HSVhsv(245, 79%, 51%)
CMYKcmyk(72.3%, 79.2%, 0%, 49%)
CIE-LABlab(19.10, 37.88, -55.73)
CIE-LCHlch(19.10, 67.38, 304.21°)
OKLaboklab(31.91% 0.0167 -0.1611)
OKLCHoklch(31.91% 0.162 275.9)
XYZxyz(5.1474, 2.7702, 21.3782)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B82 #79821B
analogous
#1B4582 #241B82 #571B82
triadic
#241B82 #82241B #1B8224
tetradic
#241B82 #821B45 #79821B #1B8257
square
#241B82 #821B45 #79821B #1B8257
split-complementary
#241B82 #82571B #45821B
monochromatic
#08061D #16104F #241B82 #3226B5 #4D40D7

Accessibility & contrast

On white

13.51
#241B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#241B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241B82
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B82#FFFFFF#000000##FFFFFF
##241B821.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003385
Deuteranopia (green-blind)
#002A80
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241b82;
/* rgb */ color: rgb(36, 27, 130);
/* oklch */ color: oklch(31.9% 0.162 275.9);
Tailwind
colors: {
  custom: {
    50: '#6e5aa7',
    500: '#241b82',
    950: '#000000',
  },
}
SCSS
$custom: #241b82;
$custom-light: #6e5aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#241b82",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 245.243,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31912,
    "c": 0.16196,
    "h": 275.9
  },
  "luminance": 0.02771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #241B82

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

Preview Lab → · Contrast checker → · Palette generator →

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