#241C7E#241C7E

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

Color values

HEX#241C7E
RGBrgb(36, 28, 126)
HSLhsl(245, 64%, 30%)
HSVhsv(245, 78%, 49%)
CMYKcmyk(71.4%, 77.8%, 0%, 50.6%)
CIE-LABlab(18.85, 35.97, -53.60)
CIE-LCHlch(18.85, 64.55, 303.86°)
OKLaboklab(31.6% 0.0171 -0.1549)
OKLCHoklch(31.6% 0.156 276.3)
XYZxyz(4.9075, 2.7115, 19.9994)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241C7E #767E1C
analogous
#1C457E #241C7E #551C7E
triadic
#241C7E #7E241C #1C7E24
tetradic
#241C7E #7E1C45 #767E1C #1C7E55
square
#241C7E #7E1C45 #767E1C #1C7E55
split-complementary
#241C7E #7E551C #457E1C
monochromatic
#07061A #16114C #241C7E #3227B0 #4C40D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##241C7E#FFFFFF#000000##FFFFFF
##241C7E1.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)
#003281
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241c7e;
/* rgb */ color: rgb(36, 28, 126);
/* oklch */ color: oklch(31.6% 0.156 276.3);
Tailwind
colors: {
  custom: {
    50: '#6d5aa4',
    500: '#241c7e',
    950: '#000000',
  },
}
SCSS
$custom: #241c7e;
$custom-light: #6d5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#241c7e",
  "rgb": {
    "r": 36,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 244.898,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31603,
    "c": 0.15587,
    "h": 276.3
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#241C7E
secondary
#A9B244
accent
#E741D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #241C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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