#241F99#241F99

#241F99 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.187 H 272.9°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#241F99
RGBrgb(36, 31, 153)
HSLhsl(242, 66%, 36%)
HSVhsv(242, 80%, 60%)
CMYKcmyk(76.5%, 79.7%, 0%, 40%)
CIE-LABlab(22.49, 43.32, -64.45)
CIE-LCHlch(22.49, 77.65, 303.91°)
OKLaboklab(35.07% 0.0094 -0.1865)
OKLCHoklch(35.07% 0.187 272.9)
XYZxyz(6.9654, 3.6542, 30.4691)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F99 #94991F
analogous
#1F5799 #241F99 #611F99
triadic
#241F99 #99241F #1F9924
tetradic
#241F99 #991F57 #94991F #1F9961
square
#241F99 #991F57 #94991F #1F9961
split-complementary
#241F99 #99611F #57991F
monochromatic
#0C0A33 #181566 #241F99 #3029CC #5B56DD

Accessibility & contrast

On white

12.13
#241F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#241F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F99
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F99#FFFFFF#000000##FFFFFF
##241F991.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #241f99;
/* rgb */ color: rgb(36, 31, 153);
/* oklch */ color: oklch(35.1% 0.187 272.9);
Tailwind
colors: {
  custom: {
    50: '#745db8',
    500: '#241f99',
    950: '#000000',
  },
}
SCSS
$custom: #241f99;
$custom-light: #745db8;
$custom-dark: #000000;
JSON
{
  "hex": "#241f99",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 242.459,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35068,
    "c": 0.18673,
    "h": 272.9
  },
  "luminance": 0.03655
}

Semantic roles & 50–950 ramp

primary
#241F99
secondary
#BCC054
accent
#E93FE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #241F99

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

Preview Lab → · Contrast checker → · Palette generator →

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