#241E7C#241E7C

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

Color values

HEX#241E7C
RGBrgb(36, 30, 124)
HSLhsl(244, 61%, 30%)
HSVhsv(244, 76%, 49%)
CMYKcmyk(71%, 75.8%, 0%, 51.4%)
CIE-LABlab(19.05, 34.11, -52.00)
CIE-LCHlch(19.05, 62.19, 303.26°)
OKLaboklab(31.68% 0.0164 -0.1503)
OKLCHoklch(31.68% 0.151 276.2)
XYZxyz(4.8287, 2.7584, 19.3428)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241E7C #767C1E
analogous
#1E477C #241E7C #531E7C
triadic
#241E7C #7C241E #1E7C24
tetradic
#241E7C #7C1E47 #767C1E #1E7C53
square
#241E7C #7C1E47 #767C1E #1E7C53
split-complementary
#241E7C #7C531E #477C1E
monochromatic
#070619 #16124B #241E7C #322AAD #4C43D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##241E7C#FFFFFF#000000##FFFFFF
##241E7C1.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)
#00327F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241e7c;
/* rgb */ color: rgb(36, 30, 124);
/* oklch */ color: oklch(31.7% 0.151 276.2);
Tailwind
colors: {
  custom: {
    50: '#6d5ba3',
    500: '#241e7c',
    950: '#000000',
  },
}
SCSS
$custom: #241e7c;
$custom-light: #6d5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#241e7c",
  "rgb": {
    "r": 36,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 243.83,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3168,
    "c": 0.15116,
    "h": 276.2
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#241E7C
secondary
#A9AF46
accent
#E444DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #241E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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