#241B7B#241B7B

#241B7B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.153 H 276.9°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#241B7B
RGBrgb(36, 27, 123)
HSLhsl(246, 64%, 29%)
HSVhsv(246, 78%, 48%)
CMYKcmyk(70.7%, 78%, 0%, 51.8%)
CIE-LABlab(18.31, 35.53, -52.57)
CIE-LCHlch(18.31, 63.45, 304.05°)
OKLaboklab(31.13% 0.0184 -0.1519)
OKLCHoklch(31.13% 0.153 276.9)
XYZxyz(4.6935, 2.5886, 18.9874)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B7B #727B1B
analogous
#1B427B #241B7B #541B7B
triadic
#241B7B #7B241B #1B7B24
tetradic
#241B7B #7B1B42 #727B1B #1B7B54
square
#241B7B #7B1B42 #727B1B #1B7B54
split-complementary
#241B7B #7B541B #427B1B
monochromatic
#070619 #151049 #241B7B #3326AD #4A3CD4

Accessibility & contrast

On white

13.84
#241B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241B7B
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B7B#FFFFFF#000000##FFFFFF
##241B7B1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.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: #241b7b;
/* rgb */ color: rgb(36, 27, 123);
/* oklch */ color: oklch(31.1% 0.153 276.9);
Tailwind
colors: {
  custom: {
    50: '#6d59a2',
    500: '#241b7b',
    950: '#000000',
  },
}
SCSS
$custom: #241b7b;
$custom-light: #6d59a2;
$custom-dark: #000000;
JSON
{
  "hex": "#241b7b",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 245.625,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31127,
    "c": 0.15303,
    "h": 276.9
  },
  "luminance": 0.02589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #241B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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