#241E52#241E52

#241E52 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.091 H 283.9°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#241E52
RGBrgb(36, 30, 82)
HSLhsl(247, 46%, 22%)
HSVhsv(247, 63%, 32%)
CMYKcmyk(56.1%, 63.4%, 0%, 67.8%)
CIE-LABlab(15.02, 19.12, -31.00)
CIE-LCHlch(15.02, 36.42, 301.66°)
OKLaboklab(27.53% 0.0219 -0.0887)
OKLCHoklch(27.53% 0.091 283.9)
XYZxyz(2.7144, 1.9127, 8.2072)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241E52 #4C521E
analogous
#1E3252 #241E52 #3E1E52
triadic
#241E52 #52241E #1E5224
tetradic
#241E52 #521E32 #4C521E #1E523E
square
#241E52 #521E32 #4C521E #1E523E
split-complementary
#241E52 #523E1E #32521E
monochromatic
#0A0816 #100E25 #241E52 #382E7F #4B3FAC

Accessibility & contrast

On white

15.19
#241E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#241E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241E52
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241E52#FFFFFF#000000##FFFFFF
##241E521.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002754
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#122A34
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #241e52;
/* rgb */ color: rgb(36, 30, 82);
/* oklch */ color: oklch(27.5% 0.091 283.9);
Tailwind
colors: {
  custom: {
    50: '#635a83',
    500: '#241e52',
    950: '#000000',
  },
}
SCSS
$custom: #241e52;
$custom-light: #635a83;
$custom-dark: #000000;
JSON
{
  "hex": "#241e52",
  "rgb": {
    "r": 36,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 246.923,
    "s": 46.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.2753,
    "c": 0.09137,
    "h": 283.9
  },
  "luminance": 0.01913
}

Semantic roles & 50–950 ramp

primary
#241E52
secondary
#7F8745
accent
#D652C7
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030A
muted
#7A787C

Preview Lab

Preview with #241E52

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

Preview Lab → · Contrast checker → · Palette generator →

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