#241E8C#241E8C

#241E8C is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.172 H 274.3°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#241E8C
RGBrgb(36, 30, 140)
HSLhsl(243, 65%, 33%)
HSVhsv(243, 79%, 55%)
CMYKcmyk(74.3%, 78.6%, 0%, 45.1%)
CIE-LABlab(20.81, 39.56, -59.18)
CIE-LCHlch(20.81, 71.18, 303.76°)
OKLaboklab(33.45% 0.0128 -0.1712)
OKLCHoklch(33.45% 0.172 274.3)
XYZxyz(5.9239, 3.1965, 25.1106)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241E8C #868C1E
analogous
#1E4F8C #241E8C #5B1E8C
triadic
#241E8C #8C241E #1E8C24
tetradic
#241E8C #8C1E4F #868C1E #1E8C5B
square
#241E8C #8C1E4F #868C1E #1E8C5B
split-complementary
#241E8C #8C5B1E #4F8C1E
monochromatic
#0A0827 #17135A #241E8C #3129BE #534CD9

Accessibility & contrast

On white

12.81
#241E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#241E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241E8C
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241E8C#FFFFFF#000000##FFFFFF
##241E8C1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378F
Deuteranopia (green-blind)
#002D8A
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #241e8c;
/* rgb */ color: rgb(36, 30, 140);
/* oklch */ color: oklch(33.5% 0.172 274.3);
Tailwind
colors: {
  custom: {
    50: '#715caf',
    500: '#241e8c',
    950: '#000000',
  },
}
SCSS
$custom: #241e8c;
$custom-light: #715caf;
$custom-dark: #000000;
JSON
{
  "hex": "#241e8c",
  "rgb": {
    "r": 36,
    "g": 30,
    "b": 140
  },
  "hsl": {
    "h": 243.273,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33452,
    "c": 0.17165,
    "h": 274.3
  },
  "luminance": 0.03197
}

Semantic roles & 50–950 ramp

primary
#241E8C
secondary
#B5BB4B
accent
#E840DF
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #241E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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