#241D98#241D98

#241D98 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.187 H 273.2°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#241D98
RGBrgb(36, 29, 152)
HSLhsl(243, 68%, 35%)
HSVhsv(243, 81%, 60%)
CMYKcmyk(76.3%, 80.9%, 0%, 40.4%)
CIE-LABlab(22.02, 44.03, -64.62)
CIE-LCHlch(22.02, 78.20, 304.27°)
OKLaboklab(34.7% 0.0104 -0.187)
OKLCHoklch(34.7% 0.187 273.2)
XYZxyz(6.8325, 3.5201, 30.0190)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241D98 #91981D
analogous
#1D5398 #241D98 #621D98
triadic
#241D98 #98241D #1D9824
tetradic
#241D98 #981D53 #91981D #1D9862
square
#241D98 #981D53 #91981D #1D9862
split-complementary
#241D98 #98621D #53981D
monochromatic
#0C0931 #181365 #241D98 #3027CB #5952DE

Accessibility & contrast

On white

12.32
#241D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#241D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241D98
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241D98#FFFFFF#000000##FFFFFF
##241D981.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9B
Deuteranopia (green-blind)
#002F96
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #241d98;
/* rgb */ color: rgb(36, 29, 152);
/* oklch */ color: oklch(34.7% 0.187 273.2);
Tailwind
colors: {
  custom: {
    50: '#745cb8',
    500: '#241d98',
    950: '#000000',
  },
}
SCSS
$custom: #241d98;
$custom-light: #745cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#241d98",
  "rgb": {
    "r": 36,
    "g": 29,
    "b": 152
  },
  "hsl": {
    "h": 243.415,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.347,
    "c": 0.18726,
    "h": 273.2
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#241D98
secondary
#BAC150
accent
#EB3DE1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #241D98

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

Preview Lab → · Contrast checker → · Palette generator →

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