#241C7B#241C7B

#241C7B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.152 H 276.7°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#241C7B
RGBrgb(36, 28, 123)
HSLhsl(245, 63%, 30%)
HSVhsv(245, 77%, 48%)
CMYKcmyk(70.7%, 77.2%, 0%, 51.8%)
CIE-LABlab(18.52, 34.95, -52.24)
CIE-LCHlch(18.52, 62.85, 303.79°)
OKLaboklab(31.27% 0.0178 -0.1509)
OKLCHoklch(31.27% 0.152 276.7)
XYZxyz(4.7168, 2.6352, 18.9951)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241C7B #737B1C
analogous
#1C437B #241C7B #541C7B
triadic
#241C7B #7B241C #1C7B24
tetradic
#241C7B #7B1C43 #737B1C #1C7B54
square
#241C7B #7B1C43 #737B1C #1C7B54
split-complementary
#241C7B #7B541C #437B1C
monochromatic
#070619 #151149 #241C7B #3327AD #4B3ED3

Accessibility & contrast

On white

13.75
#241C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241C7B
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241C7B#FFFFFF#000000##FFFFFF
##241C7B1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002979
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #241c7b;
/* rgb */ color: rgb(36, 28, 123);
/* oklch */ color: oklch(31.3% 0.152 276.7);
Tailwind
colors: {
  custom: {
    50: '#6d5aa2',
    500: '#241c7b',
    950: '#000000',
  },
}
SCSS
$custom: #241c7b;
$custom-light: #6d5aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#241c7b",
  "rgb": {
    "r": 36,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 245.053,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31272,
    "c": 0.152,
    "h": 276.7
  },
  "luminance": 0.02636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #241C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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