#241A7D#241A7D

#241A7D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.157 H 276.8°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#241A7D
RGBrgb(36, 26, 125)
HSLhsl(246, 66%, 30%)
HSVhsv(246, 79%, 49%)
CMYKcmyk(71.2%, 79.2%, 0%, 51%)
CIE-LABlab(18.34, 36.77, -53.81)
CIE-LCHlch(18.34, 65.17, 304.35°)
OKLaboklab(31.21% 0.0185 -0.1555)
OKLCHoklch(31.21% 0.157 276.8)
XYZxyz(4.7974, 2.5941, 19.6459)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241A7D #737D1A
analogous
#1A417D #241A7D #561A7D
triadic
#241A7D #7D241A #1A7D24
tetradic
#241A7D #7D1A41 #737D1A #1A7D56
square
#241A7D #7D1A41 #737D1A #1A7D56
split-complementary
#241A7D #7D561A #417D1A
monochromatic
#070519 #150F4A #241A7D #3325B0 #4B3BD6

Accessibility & contrast

On white

13.82
#241A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#241A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241A7D
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241A7D#FFFFFF#000000##FFFFFF
##241A7D1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#00287B
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #241a7d;
/* rgb */ color: rgb(36, 26, 125);
/* oklch */ color: oklch(31.2% 0.157 276.8);
Tailwind
colors: {
  custom: {
    50: '#6d59a4',
    500: '#241a7d',
    950: '#000000',
  },
}
SCSS
$custom: #241a7d;
$custom-light: #6d59a4;
$custom-dark: #000000;
JSON
{
  "hex": "#241a7d",
  "rgb": {
    "r": 36,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 246.061,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31211,
    "c": 0.15661,
    "h": 276.8
  },
  "luminance": 0.02595
}

Semantic roles & 50–950 ramp

primary
#241A7D
secondary
#A6B142
accent
#E93FD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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