#241D7E#241D7E

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

Color values

HEX#241D7E
RGBrgb(36, 29, 126)
HSLhsl(244, 63%, 30%)
HSVhsv(244, 77%, 49%)
CMYKcmyk(71.4%, 77%, 0%, 50.6%)
CIE-LABlab(19.05, 35.39, -53.26)
CIE-LCHlch(19.05, 63.95, 303.60°)
OKLaboklab(31.75% 0.0165 -0.1539)
OKLCHoklch(31.75% 0.155 276.1)
XYZxyz(4.9316, 2.7597, 20.0074)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241D7E #777E1D
analogous
#1D467E #241D7E #541D7E
triadic
#241D7E #7E241D #1D7E24
tetradic
#241D7E #7E1D46 #777E1D #1D7E54
square
#241D7E #7E1D46 #777E1D #1D7E54
split-complementary
#241D7E #7E541D #467E1D
monochromatic
#08061B #16124C #241D7E #3228B0 #4C42D3

Accessibility & contrast

On white

13.53
#241D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#241D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241D7E
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241D7E#FFFFFF#000000##FFFFFF
##241D7E1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241d7e;
/* rgb */ color: rgb(36, 29, 126);
/* oklch */ color: oklch(31.7% 0.155 276.1);
Tailwind
colors: {
  custom: {
    50: '#6d5ba4',
    500: '#241d7e',
    950: '#000000',
  },
}
SCSS
$custom: #241d7e;
$custom-light: #6d5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#241d7e",
  "rgb": {
    "r": 36,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 244.33,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31748,
    "c": 0.15484,
    "h": 276.1
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#241D7E
secondary
#AAB145
accent
#E642DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #241D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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