#241B80#241B80

#241B80 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.159 H 276.2°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#241B80
RGBrgb(36, 27, 128)
HSLhsl(245, 65%, 30%)
HSVhsv(245, 79%, 50%)
CMYKcmyk(71.9%, 78.9%, 0%, 49.8%)
CIE-LABlab(18.87, 37.21, -54.83)
CIE-LCHlch(18.87, 66.27, 304.16°)
OKLaboklab(31.69% 0.0172 -0.1585)
OKLCHoklch(31.69% 0.159 276.2)
XYZxyz(5.0145, 2.7170, 20.6781)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B80 #77801B
analogous
#1B4480 #241B80 #571B80
triadic
#241B80 #80241B #1B8024
tetradic
#241B80 #801B44 #77801B #1B8057
square
#241B80 #801B44 #77801B #1B8057
split-complementary
#241B80 #80571B #44801B
monochromatic
#08061B #16104D #241B80 #3226B3 #4C3FD6

Accessibility & contrast

On white

13.61
#241B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#241B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241B80
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B80#FFFFFF#000000##FFFFFF
##241B801.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#00297E
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241b80;
/* rgb */ color: rgb(36, 27, 128);
/* oklch */ color: oklch(31.7% 0.159 276.2);
Tailwind
colors: {
  custom: {
    50: '#6e5aa6',
    500: '#241b80',
    950: '#000000',
  },
}
SCSS
$custom: #241b80;
$custom-light: #6e5aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#241b80",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 245.347,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31686,
    "c": 0.15943,
    "h": 276.2
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#241B80
secondary
#AAB443
accent
#E840D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #241B80

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

Preview Lab → · Contrast checker → · Palette generator →

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