#241F95#241F95

#241F95 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.182 H 273.3°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#241F95
RGBrgb(36, 31, 149)
HSLhsl(243, 66%, 35%)
HSVhsv(243, 79%, 58%)
CMYKcmyk(75.8%, 79.2%, 0%, 41.6%)
CIE-LABlab(22.03, 42.00, -62.75)
CIE-LCHlch(22.03, 75.51, 303.80°)
OKLaboklab(34.61% 0.0104 -0.1816)
OKLCHoklch(34.61% 0.182 273.3)
XYZxyz(6.6405, 3.5243, 28.7582)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F95 #90951F
analogous
#1F5595 #241F95 #5F1F95
triadic
#241F95 #95241F #1F9524
tetradic
#241F95 #951F55 #90951F #1F955F
square
#241F95 #951F55 #90951F #1F955F
split-complementary
#241F95 #955F1F #55951F
monochromatic
#0C0A30 #181462 #241F95 #302AC8 #5953DB

Accessibility & contrast

On white

12.32
#241F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#241F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F95
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F95#FFFFFF#000000##FFFFFF
##241F951.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#002F93
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #241f95;
/* rgb */ color: rgb(36, 31, 149);
/* oklch */ color: oklch(34.6% 0.182 273.3);
Tailwind
colors: {
  custom: {
    50: '#735db5',
    500: '#241f95',
    950: '#000000',
  },
}
SCSS
$custom: #241f95;
$custom-light: #735db5;
$custom-dark: #000000;
JSON
{
  "hex": "#241f95",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 242.542,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34609,
    "c": 0.18185,
    "h": 273.3
  },
  "luminance": 0.03525
}

Semantic roles & 50–950 ramp

primary
#241F95
secondary
#BABF51
accent
#E93FE1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #241F95

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

Preview Lab → · Contrast checker → · Palette generator →

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