#241E8D#241E8D

#241E8D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.173 H 274.2°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#241E8D
RGBrgb(36, 30, 141)
HSLhsl(243, 65%, 34%)
HSVhsv(243, 79%, 55%)
CMYKcmyk(74.5%, 78.7%, 0%, 44.7%)
CIE-LABlab(20.93, 39.89, -59.61)
CIE-LCHlch(20.93, 71.73, 303.79°)
OKLaboklab(33.57% 0.0126 -0.1724)
OKLCHoklch(33.57% 0.173 274.2)
XYZxyz(5.9979, 3.2261, 25.5007)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241E8D #878D1E
analogous
#1E4F8D #241E8D #5B1E8D
triadic
#241E8D #8D241E #1E8D24
tetradic
#241E8D #8D1E4F #878D1E #1E8D5B
square
#241E8D #8D1E4F #878D1E #1E8D5B
split-complementary
#241E8D #8D5B1E #4F8D1E
monochromatic
#0A0928 #17135B #241E8D #3129BF #544CD9

Accessibility & contrast

On white

12.76
#241E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#241E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241E8D
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241E8D#FFFFFF#000000##FFFFFF
##241E8D1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#002D8B
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #241e8d;
/* rgb */ color: rgb(36, 30, 141);
/* oklch */ color: oklch(33.6% 0.173 274.2);
Tailwind
colors: {
  custom: {
    50: '#715cb0',
    500: '#241e8d',
    950: '#000000',
  },
}
SCSS
$custom: #241e8d;
$custom-light: #715cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#241e8d",
  "rgb": {
    "r": 36,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 243.243,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33565,
    "c": 0.1729,
    "h": 274.2
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#241E8D
secondary
#B5BC4B
accent
#E840DF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #241E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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