#241B81#241B81

#241B81 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.161 H 276.1°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#241B81
RGBrgb(36, 27, 129)
HSLhsl(245, 65%, 31%)
HSVhsv(245, 79%, 51%)
CMYKcmyk(72.1%, 79.1%, 0%, 49.4%)
CIE-LABlab(18.99, 37.55, -55.28)
CIE-LCHlch(18.99, 66.83, 304.19°)
OKLaboklab(31.8% 0.017 -0.1598)
OKLCHoklch(31.8% 0.161 276.1)
XYZxyz(5.0806, 2.7434, 21.0264)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B81 #78811B
analogous
#1B4581 #241B81 #571B81
triadic
#241B81 #81241B #1B8124
tetradic
#241B81 #811B45 #78811B #1B8157
square
#241B81 #811B45 #78811B #1B8157
split-complementary
#241B81 #81571B #45811B
monochromatic
#08061C #16104E #241B81 #3226B4 #4D3FD7

Accessibility & contrast

On white

13.56
#241B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#241B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241B81
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B81#FFFFFF#000000##FFFFFF
##241B811.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241b81;
/* rgb */ color: rgb(36, 27, 129);
/* oklch */ color: oklch(31.8% 0.161 276.1);
Tailwind
colors: {
  custom: {
    50: '#6e5aa7',
    500: '#241b81',
    950: '#000000',
  },
}
SCSS
$custom: #241b81;
$custom-light: #6e5aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#241b81",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 129
  },
  "hsl": {
    "h": 245.294,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31799,
    "c": 0.16071,
    "h": 276.1
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#241B81
secondary
#ABB543
accent
#E83FD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #241B81

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

Preview Lab → · Contrast checker → · Palette generator →

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