#241671#241671

#241671 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.145 H 279.5°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#241671
RGBrgb(36, 22, 113)
HSLhsl(249, 67%, 26%)
HSVhsv(249, 81%, 44%)
CMYKcmyk(68.1%, 80.5%, 0%, 55.7%)
CIE-LABlab(16.21, 35.00, -49.61)
CIE-LCHlch(16.21, 60.72, 305.20°)
OKLaboklab(29.32% 0.024 -0.1432)
OKLCHoklch(29.32% 0.145 279.5)
XYZxyz(3.9941, 2.1408, 15.8223)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241671 #637116
analogous
#163671 #241671 #521671
triadic
#241671 #712416 #167124
tetradic
#241671 #711636 #637116 #167152
square
#241671 #711636 #637116 #167152
split-complementary
#241671 #715216 #367116
monochromatic
#08051A #140C3E #241671 #3420A4 #462CD6

Accessibility & contrast

On white

14.70
#241671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#241671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241671
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241671#FFFFFF#000000##FFFFFF
##2416711.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241671;
/* rgb */ color: rgb(36, 22, 113);
/* oklch */ color: oklch(29.3% 0.145 279.5);
Tailwind
colors: {
  custom: {
    50: '#6b569b',
    500: '#241671',
    950: '#000000',
  },
}
SCSS
$custom: #241671;
$custom-light: #6b569b;
$custom-dark: #000000;
JSON
{
  "hex": "#241671",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 249.231,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29315,
    "c": 0.14525,
    "h": 279.5
  },
  "luminance": 0.02141
}

Semantic roles & 50–950 ramp

primary
#241671
secondary
#96A73C
accent
#EA3ED0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #241671

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

Preview Lab → · Contrast checker → · Palette generator →

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