#241771#241771

#241771 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.144 H 279.3°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#241771
RGBrgb(36, 23, 113)
HSLhsl(249, 66%, 27%)
HSVhsv(249, 80%, 44%)
CMYKcmyk(68.1%, 79.6%, 0%, 55.7%)
CIE-LABlab(16.40, 34.44, -49.29)
CIE-LCHlch(16.40, 60.13, 304.94°)
OKLaboklab(29.45% 0.0234 -0.1423)
OKLCHoklch(29.45% 0.144 279.3)
XYZxyz(4.0136, 2.1798, 15.8288)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241771 #647117
analogous
#173771 #241771 #511771
triadic
#241771 #712417 #177124
tetradic
#241771 #711737 #647117 #177151
square
#241771 #711737 #647117 #177151
split-complementary
#241771 #715117 #377117
monochromatic
#080519 #140D3E #241771 #3421A4 #462ED4

Accessibility & contrast

On white

14.62
#241771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#241771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241771
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241771#FFFFFF#000000##FFFFFF
##2417711.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00256F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #241771;
/* rgb */ color: rgb(36, 23, 113);
/* oklch */ color: oklch(29.5% 0.144 279.3);
Tailwind
colors: {
  custom: {
    50: '#6b569b',
    500: '#241771',
    950: '#000000',
  },
}
SCSS
$custom: #241771;
$custom-light: #6b569b;
$custom-dark: #000000;
JSON
{
  "hex": "#241771",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 248.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29451,
    "c": 0.14423,
    "h": 279.3
  },
  "luminance": 0.0218
}

Semantic roles & 50–950 ramp

primary
#241771
secondary
#97A73D
accent
#E93FD0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #241771

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

Preview Lab → · Contrast checker → · Palette generator →

#241771 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva