#241B7C#241B7C

#241B7C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.154 H 276.8°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#241B7C
RGBrgb(36, 27, 124)
HSLhsl(246, 64%, 30%)
HSVhsv(246, 78%, 49%)
CMYKcmyk(71%, 78.2%, 0%, 51.4%)
CIE-LABlab(18.43, 35.87, -53.03)
CIE-LCHlch(18.43, 64.02, 304.07°)
OKLaboklab(31.24% 0.0182 -0.1532)
OKLCHoklch(31.24% 0.154 276.8)
XYZxyz(4.7564, 2.6137, 19.3187)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B7C #737C1B
analogous
#1B437C #241B7C #551B7C
triadic
#241B7C #7C241B #1B7C24
tetradic
#241B7C #7C1B43 #737C1B #1B7C55
square
#241B7C #7C1B43 #737C1B #1B7C55
split-complementary
#241B7C #7C551B #437C1B
monochromatic
#070519 #15104A #241B7C #3326AE #4B3DD5

Accessibility & contrast

On white

13.79
#241B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#241B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241B7C
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B7C#FFFFFF#000000##FFFFFF
##241B7C1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241b7c;
/* rgb */ color: rgb(36, 27, 124);
/* oklch */ color: oklch(31.2% 0.154 276.8);
Tailwind
colors: {
  custom: {
    50: '#6d59a3',
    500: '#241b7c',
    950: '#000000',
  },
}
SCSS
$custom: #241b7c;
$custom-light: #6d59a3;
$custom-dark: #000000;
JSON
{
  "hex": "#241b7c",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 245.567,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31238,
    "c": 0.15432,
    "h": 276.8
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#241B7C
secondary
#A6B043
accent
#E741D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #241B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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