#241895#241895

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

Color values

HEX#241895
RGBrgb(36, 24, 149)
HSLhsl(246, 72%, 34%)
HSVhsv(246, 84%, 58%)
CMYKcmyk(75.8%, 83.9%, 0%, 41.6%)
CIE-LABlab(20.82, 45.53, -64.76)
CIE-LCHlch(20.82, 79.16, 305.11°)
OKLaboklab(33.76% 0.0129 -0.1873)
OKLCHoklch(33.76% 0.188 273.9)
XYZxyz(6.4772, 3.1976, 28.7038)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241895 #899518
analogous
#184B95 #241895 #631895
triadic
#241895 #952418 #189524
tetradic
#241895 #95184B #899518 #189563
square
#241895 #95184B #899518 #189563
split-complementary
#241895 #956318 #4B9518
monochromatic
#0B072C #171060 #241895 #3120CA #5546E1

Accessibility & contrast

On white

12.81
#241895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#241895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241895
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241895#FFFFFF#000000##FFFFFF
##2418951.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241895;
/* rgb */ color: rgb(36, 24, 149);
/* oklch */ color: oklch(33.8% 0.188 273.9);
Tailwind
colors: {
  custom: {
    50: '#7359b6',
    500: '#241895',
    950: '#000000',
  },
}
SCSS
$custom: #241895;
$custom-light: #7359b6;
$custom-dark: #000000;
JSON
{
  "hex": "#241895",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 245.76,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33764,
    "c": 0.18772,
    "h": 273.9
  },
  "luminance": 0.03198
}

Semantic roles & 50–950 ramp

primary
#241895
secondary
#B7C246
accent
#EF39DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #241895

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

Preview Lab → · Contrast checker → · Palette generator →

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