#241795#241795

#241795 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.7% C 0.188 H 274.0°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#241795
RGBrgb(36, 23, 149)
HSLhsl(246, 73%, 34%)
HSVhsv(246, 85%, 58%)
CMYKcmyk(75.8%, 84.6%, 0%, 41.6%)
CIE-LABlab(20.66, 45.99, -65.02)
CIE-LCHlch(20.66, 79.64, 305.27°)
OKLaboklab(33.66% 0.0132 -0.188)
OKLCHoklch(33.66% 0.188 274)
XYZxyz(6.4570, 3.1571, 28.6970)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241795 #889517
analogous
#174995 #241795 #631795
triadic
#241795 #952417 #179524
tetradic
#241795 #951749 #889517 #179563
square
#241795 #951749 #889517 #179563
split-complementary
#241795 #956317 #499517
monochromatic
#0A072B #170F60 #241795 #311FCA #5544E2

Accessibility & contrast

On white

12.87
#241795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#241795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241795
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241795#FFFFFF#000000##FFFFFF
##2417951.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003798
Deuteranopia (green-blind)
#002C93
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #241795;
/* rgb */ color: rgb(36, 23, 149);
/* oklch */ color: oklch(33.7% 0.188 274.0);
Tailwind
colors: {
  custom: {
    50: '#7359b6',
    500: '#241795',
    950: '#000000',
  },
}
SCSS
$custom: #241795;
$custom-light: #7359b6;
$custom-dark: #000000;
JSON
{
  "hex": "#241795",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 149
  },
  "hsl": {
    "h": 246.19,
    "s": 73.256,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33657,
    "c": 0.18847,
    "h": 274
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#241795
secondary
#B6C345
accent
#F038DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #241795

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

Preview Lab → · Contrast checker → · Palette generator →

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