#241B78#241B78

#241B78 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.149 H 277.4°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#241B78
RGBrgb(36, 27, 120)
HSLhsl(246, 63%, 29%)
HSVhsv(246, 78%, 47%)
CMYKcmyk(70%, 77.5%, 0%, 52.9%)
CIE-LABlab(17.98, 34.51, -51.20)
CIE-LCHlch(17.98, 61.74, 303.98°)
OKLaboklab(30.8% 0.0191 -0.1479)
OKLCHoklch(30.8% 0.149 277.4)
XYZxyz(4.5086, 2.5146, 18.0134)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B78 #6F781B
analogous
#1B4178 #241B78 #531B78
triadic
#241B78 #78241B #1B7824
tetradic
#241B78 #781B41 #6F781B #1B7853
square
#241B78 #781B41 #6F781B #1B7853
split-complementary
#241B78 #78531B #41781B
monochromatic
#070619 #151046 #241B78 #3326AA #493BD3

Accessibility & contrast

On white

13.97
#241B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#241B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241B78
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B78#FFFFFF#000000##FFFFFF
##241B781.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307B
Deuteranopia (green-blind)
#002876
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #241b78;
/* rgb */ color: rgb(36, 27, 120);
/* oklch */ color: oklch(30.8% 0.149 277.4);
Tailwind
colors: {
  custom: {
    50: '#6c59a0',
    500: '#241b78',
    950: '#000000',
  },
}
SCSS
$custom: #241b78;
$custom-light: #6c59a0;
$custom-dark: #000000;
JSON
{
  "hex": "#241b78",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 120
  },
  "hsl": {
    "h": 245.806,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30796,
    "c": 0.14915,
    "h": 277.4
  },
  "luminance": 0.02515
}

Semantic roles & 50–950 ramp

primary
#241B78
secondary
#A2AC43
accent
#E641D6
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F

Preview Lab

Preview with #241B78

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

Preview Lab → · Contrast checker → · Palette generator →

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