#241FA1#241FA1

#241FA1 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.196 H 272.2°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#241FA1
RGBrgb(36, 31, 161)
HSLhsl(242, 68%, 38%)
HSVhsv(242, 81%, 63%)
CMYKcmyk(77.6%, 80.7%, 0%, 36.9%)
CIE-LABlab(23.43, 45.91, -67.79)
CIE-LCHlch(23.43, 81.87, 304.11°)
OKLaboklab(35.99% 0.0076 -0.1962)
OKLCHoklch(35.99% 0.196 272.2)
XYZxyz(7.6484, 3.9274, 34.0663)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241FA1 #9CA11F
analogous
#1F5BA1 #241FA1 #651FA1
triadic
#241FA1 #A1241F #1FA124
tetradic
#241FA1 #A11F5B #9CA11F #1FA165
square
#241FA1 #A11F5B #9CA11F #1FA165
split-complementary
#241FA1 #A1651F #5BA11F
monochromatic
#0D0B3A #19156E #241FA1 #2F29D4 #605BDF

Accessibility & contrast

On white

11.76
#241FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#241FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241FA1
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241FA1#FFFFFF#000000##FFFFFF
##241FA11.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #241fa1;
/* rgb */ color: rgb(36, 31, 161);
/* oklch */ color: oklch(36.0% 0.196 272.2);
Tailwind
colors: {
  custom: {
    50: '#765ebe',
    500: '#241fa1',
    950: '#000000',
  },
}
SCSS
$custom: #241fa1;
$custom-light: #765ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#241fa1",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 242.308,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.35994,
    "c": 0.19634,
    "h": 272.2
  },
  "luminance": 0.03928
}

Semantic roles & 50–950 ramp

primary
#241FA1
secondary
#BFC458
accent
#EB3DE4
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #241FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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