#241B79#241B79

#241B79 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.150 H 277.2°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#241B79
RGBrgb(36, 27, 121)
HSLhsl(246, 64%, 29%)
HSVhsv(246, 78%, 47%)
CMYKcmyk(70.2%, 77.7%, 0%, 52.5%)
CIE-LABlab(18.09, 34.85, -51.66)
CIE-LCHlch(18.09, 62.32, 304.01°)
OKLaboklab(30.91% 0.0189 -0.1493)
OKLCHoklch(30.91% 0.15 277.2)
XYZxyz(4.5696, 2.5390, 18.3347)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B79 #70791B
analogous
#1B4179 #241B79 #531B79
triadic
#241B79 #79241B #1B7924
tetradic
#241B79 #791B41 #70791B #1B7953
square
#241B79 #791B41 #70791B #1B7953
split-complementary
#241B79 #79531B #41791B
monochromatic
#070619 #151047 #241B79 #3326AB #4A3BD3

Accessibility & contrast

On white

13.93
#241B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241B79
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B79#FFFFFF#000000##FFFFFF
##241B791.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #241b79;
/* rgb */ color: rgb(36, 27, 121);
/* oklch */ color: oklch(30.9% 0.150 277.2);
Tailwind
colors: {
  custom: {
    50: '#6c59a1',
    500: '#241b79',
    950: '#000000',
  },
}
SCSS
$custom: #241b79;
$custom-light: #6c59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#241b79",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 245.745,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30906,
    "c": 0.15045,
    "h": 277.2
  },
  "luminance": 0.02539
}

Semantic roles & 50–950 ramp

primary
#241B79
secondary
#A3AD43
accent
#E741D7
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #241B79

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

Preview Lab → · Contrast checker → · Palette generator →

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