#241C7D#241C7D

#241C7D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.155 H 276.4°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#241C7D
RGBrgb(36, 28, 125)
HSLhsl(245, 63%, 30%)
HSVhsv(245, 78%, 49%)
CMYKcmyk(71.2%, 77.6%, 0%, 51%)
CIE-LABlab(18.74, 35.63, -53.15)
CIE-LCHlch(18.74, 63.99, 303.84°)
OKLaboklab(31.49% 0.0174 -0.1536)
OKLCHoklch(31.49% 0.155 276.4)
XYZxyz(4.8433, 2.6858, 19.6612)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241C7D #757D1C
analogous
#1C457D #241C7D #541C7D
triadic
#241C7D #7D241C #1C7D24
tetradic
#241C7D #7D1C45 #757D1C #1C7D54
square
#241C7D #7D1C45 #757D1C #1C7D54
split-complementary
#241C7D #7D541C #457D1C
monochromatic
#070619 #16114B #241C7D #3227AF #4C3FD4

Accessibility & contrast

On white

13.66
#241C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241C7D
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241C7D#FFFFFF#000000##FFFFFF
##241C7D1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#00297B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241c7d;
/* rgb */ color: rgb(36, 28, 125);
/* oklch */ color: oklch(31.5% 0.155 276.4);
Tailwind
colors: {
  custom: {
    50: '#6d5aa4',
    500: '#241c7d',
    950: '#000000',
  },
}
SCSS
$custom: #241c7d;
$custom-light: #6d5aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#241c7d",
  "rgb": {
    "r": 36,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 244.948,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.31493,
    "c": 0.15459,
    "h": 276.4
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#241C7D
secondary
#A8B144
accent
#E641D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #241C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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