#241EB1#241EB1

#241EB1 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.8% C 0.216 H 271.1°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#241EB1
RGBrgb(36, 30, 177)
HSLhsl(242, 71%, 41%)
HSVhsv(242, 83%, 69%)
CMYKcmyk(79.7%, 83.1%, 0%, 30.6%)
CIE-LABlab(25.19, 51.41, -74.54)
CIE-LCHlch(25.19, 90.55, 304.59°)
OKLaboklab(37.77% 0.0041 -0.2157)
OKLCHoklch(37.77% 0.216 271.1)
XYZxyz(9.1250, 4.4769, 41.9697)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241EB1 #ABB11E
analogous
#1E61B1 #241EB1 #6D1EB1
triadic
#241EB1 #B1241E #1EB124
tetradic
#241EB1 #B11E61 #ABB11E #1EB16D
square
#241EB1 #B11E61 #ABB11E #1EB16D
split-complementary
#241EB1 #B16D1E #61B11E
monochromatic
#0F0C48 #19157D #241EB1 #3730DC #6A65E5

Accessibility & contrast

On white

11.08
#241EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#241EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241EB1
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241EB1#FFFFFF#000000##FFFFFF
##241EB11.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B5
Deuteranopia (green-blind)
#0034AF
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #241eb1;
/* rgb */ color: rgb(36, 30, 177);
/* oklch */ color: oklch(37.8% 0.216 271.1);
Tailwind
colors: {
  custom: {
    50: '#7a5fca',
    500: '#241eb1',
    950: '#000000',
  },
}
SCSS
$custom: #241eb1;
$custom-light: #7a5fca;
$custom-dark: #000000;
JSON
{
  "hex": "#241eb1",
  "rgb": {
    "r": 36,
    "g": 30,
    "b": 177
  },
  "hsl": {
    "h": 242.449,
    "s": 71.014,
    "l": 40.588
  },
  "oklch": {
    "l": 0.3777,
    "c": 0.21575,
    "h": 271.1
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

primary
#241EB1
secondary
#C6CA61
accent
#EE3AE6
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #241EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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