#241F87#241F87

#241F87 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.164 H 274.7°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#241F87
RGBrgb(36, 31, 135)
HSLhsl(243, 63%, 33%)
HSVhsv(243, 77%, 53%)
CMYKcmyk(73.3%, 77%, 0%, 47.1%)
CIE-LABlab(20.45, 37.30, -56.64)
CIE-LCHlch(20.45, 67.82, 303.37°)
OKLaboklab(33.03% 0.0135 -0.1638)
OKLCHoklch(33.03% 0.164 274.7)
XYZxyz(5.5893, 3.1038, 23.2215)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F87 #82871F
analogous
#1F4E87 #241F87 #581F87
triadic
#241F87 #87241F #1F8724
tetradic
#241F87 #871F4E #82871F #1F8758
square
#241F87 #871F4E #82871F #1F8758
split-complementary
#241F87 #87581F #4E871F
monochromatic
#090823 #171455 #241F87 #312AB9 #514BD6

Accessibility & contrast

On white

12.96
#241F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#241F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F87
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F87#FFFFFF#000000##FFFFFF
##241F871.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #241f87;
/* rgb */ color: rgb(36, 31, 135);
/* oklch */ color: oklch(33.0% 0.164 274.7);
Tailwind
colors: {
  custom: {
    50: '#6f5cab',
    500: '#241f87',
    950: '#000000',
  },
}
SCSS
$custom: #241f87;
$custom-light: #6f5cab;
$custom-dark: #000000;
JSON
{
  "hex": "#241f87",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 242.885,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33033,
    "c": 0.16435,
    "h": 274.7
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#241F87
secondary
#B3B84A
accent
#E642DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #241F87

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

Preview Lab → · Contrast checker → · Palette generator →

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