#241C7C#241C7C

#241C7C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.153 H 276.6°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#241C7C
RGBrgb(36, 28, 124)
HSLhsl(245, 63%, 30%)
HSVhsv(245, 77%, 49%)
CMYKcmyk(71%, 77.4%, 0%, 51.4%)
CIE-LABlab(18.63, 35.29, -52.69)
CIE-LCHlch(18.63, 63.42, 303.81°)
OKLaboklab(31.38% 0.0176 -0.1523)
OKLCHoklch(31.38% 0.153 276.6)
XYZxyz(4.7797, 2.6604, 19.3265)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241C7C #747C1C
analogous
#1C447C #241C7C #541C7C
triadic
#241C7C #7C241C #1C7C24
tetradic
#241C7C #7C1C44 #747C1C #1C7C54
square
#241C7C #7C1C44 #747C1C #1C7C54
split-complementary
#241C7C #7C541C #447C1C
monochromatic
#070619 #16114A #241C7C #3227AE #4B3FD4

Accessibility & contrast

On white

13.71
#241C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#241C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241C7C
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241C7C#FFFFFF#000000##FFFFFF
##241C7C1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #241c7c;
/* rgb */ color: rgb(36, 28, 124);
/* oklch */ color: oklch(31.4% 0.153 276.6);
Tailwind
colors: {
  custom: {
    50: '#6d5aa3',
    500: '#241c7c',
    950: '#000000',
  },
}
SCSS
$custom: #241c7c;
$custom-light: #6d5aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#241c7c",
  "rgb": {
    "r": 36,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 245,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31382,
    "c": 0.15329,
    "h": 276.6
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#241C7C
secondary
#A7B044
accent
#E642D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #241C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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