#241D7C#241D7C

#241D7C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.152 H 276.4°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#241D7C
RGBrgb(36, 29, 124)
HSLhsl(244, 62%, 30%)
HSVhsv(244, 77%, 49%)
CMYKcmyk(71%, 76.6%, 0%, 51.4%)
CIE-LABlab(18.84, 34.70, -52.35)
CIE-LCHlch(18.84, 62.81, 303.54°)
OKLaboklab(31.53% 0.017 -0.1513)
OKLCHoklch(31.53% 0.152 276.4)
XYZxyz(4.8038, 2.7086, 19.3345)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241D7C #757C1D
analogous
#1D467C #241D7C #531D7C
triadic
#241D7C #7C241D #1D7C24
tetradic
#241D7C #7C1D46 #757C1D #1D7C53
square
#241D7C #7C1D46 #757C1D #1D7C53
split-complementary
#241D7C #7C531D #467C1D
monochromatic
#070619 #16114A #241D7C #3229AE #4C41D3

Accessibility & contrast

On white

13.62
#241D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#241D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241D7C
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241D7C#FFFFFF#000000##FFFFFF
##241D7C1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241d7c;
/* rgb */ color: rgb(36, 29, 124);
/* oklch */ color: oklch(31.5% 0.152 276.4);
Tailwind
colors: {
  custom: {
    50: '#6d5ba3',
    500: '#241d7c',
    950: '#000000',
  },
}
SCSS
$custom: #241d7c;
$custom-light: #6d5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#241d7c",
  "rgb": {
    "r": 36,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 244.421,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.31529,
    "c": 0.15224,
    "h": 276.4
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#241D7C
secondary
#A8B045
accent
#E543D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #241D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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