#241E7F#241E7F

#241E7F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.155 H 275.8°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#241E7F
RGBrgb(36, 30, 127)
HSLhsl(244, 62%, 31%)
HSVhsv(244, 76%, 50%)
CMYKcmyk(71.7%, 76.4%, 0%, 50.2%)
CIE-LABlab(19.37, 35.14, -53.37)
CIE-LCHlch(19.37, 63.91, 303.36°)
OKLaboklab(32.01% 0.0157 -0.1543)
OKLCHoklch(32.01% 0.155 275.8)
XYZxyz(5.0213, 2.8355, 20.3572)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241E7F #797F1E
analogous
#1E487F #241E7F #541E7F
triadic
#241E7F #7F241E #1E7F24
tetradic
#241E7F #7F1E48 #797F1E #1E7F54
square
#241E7F #7F1E48 #797F1E #1E7F54
split-complementary
#241E7F #7F541E #487F1E
monochromatic
#08071C #16124D #241E7F #322AB1 #4D44D3

Accessibility & contrast

On white

13.40
#241E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#241E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241E7F
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241E7F#FFFFFF#000000##FFFFFF
##241E7F1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002B7D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #241e7f;
/* rgb */ color: rgb(36, 30, 127);
/* oklch */ color: oklch(32.0% 0.155 275.8);
Tailwind
colors: {
  custom: {
    50: '#6d5ba5',
    500: '#241e7f',
    950: '#000000',
  },
}
SCSS
$custom: #241e7f;
$custom-light: #6d5ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#241e7f",
  "rgb": {
    "r": 36,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 243.711,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32006,
    "c": 0.15508,
    "h": 275.8
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#241E7F
secondary
#ACB247
accent
#E543DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #241E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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