#241B7A#241B7A

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

Color values

HEX#241B7A
RGBrgb(36, 27, 122)
HSLhsl(246, 64%, 29%)
HSVhsv(246, 78%, 48%)
CMYKcmyk(70.5%, 77.9%, 0%, 52.2%)
CIE-LABlab(18.20, 35.19, -52.12)
CIE-LCHlch(18.20, 62.89, 304.03°)
OKLaboklab(31.02% 0.0187 -0.1506)
OKLCHoklch(31.02% 0.152 277.1)
XYZxyz(4.6312, 2.5637, 18.6594)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B7A #717A1B
analogous
#1B427A #241B7A #541B7A
triadic
#241B7A #7A241B #1B7A24
tetradic
#241B7A #7A1B42 #717A1B #1B7A54
square
#241B7A #7A1B42 #717A1B #1B7A54
split-complementary
#241B7A #7A541B #427A1B
monochromatic
#070619 #151048 #241B7A #3326AC #4A3CD4

Accessibility & contrast

On white

13.88
#241B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#241B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241B7A
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B7A#FFFFFF#000000##FFFFFF
##241B7A1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002878
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #241b7a;
/* rgb */ color: rgb(36, 27, 122);
/* oklch */ color: oklch(31.0% 0.152 277.1);
Tailwind
colors: {
  custom: {
    50: '#6c59a1',
    500: '#241b7a',
    950: '#000000',
  },
}
SCSS
$custom: #241b7a;
$custom-light: #6c59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#241b7a",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 245.684,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31016,
    "c": 0.15174,
    "h": 277.1
  },
  "luminance": 0.02564
}

Semantic roles & 50–950 ramp

primary
#241B7A
secondary
#A4AE43
accent
#E741D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #241B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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