#241F89#241F89

#241F89 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.167 H 274.5°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#241F89
RGBrgb(36, 31, 137)
HSLhsl(243, 63%, 33%)
HSVhsv(243, 77%, 54%)
CMYKcmyk(73.7%, 77.4%, 0%, 46.3%)
CIE-LABlab(20.68, 37.98, -57.53)
CIE-LCHlch(20.68, 68.94, 303.44°)
OKLaboklab(33.26% 0.013 -0.1664)
OKLCHoklch(33.26% 0.167 274.5)
XYZxyz(5.7314, 3.1606, 23.9701)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F89 #84891F
analogous
#1F4F89 #241F89 #591F89
triadic
#241F89 #89241F #1F8924
tetradic
#241F89 #891F4F #84891F #1F8959
square
#241F89 #891F4F #84891F #1F8959
split-complementary
#241F89 #89591F #4F891F
monochromatic
#0A0825 #171457 #241F89 #312ABB #524CD6

Accessibility & contrast

On white

12.87
#241F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#241F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##241F89#FFFFFF#000000##FFFFFF
##241F891.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)
#00378C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #241f89;
/* rgb */ color: rgb(36, 31, 137);
/* oklch */ color: oklch(33.3% 0.167 274.5);
Tailwind
colors: {
  custom: {
    50: '#705cad',
    500: '#241f89',
    950: '#000000',
  },
}
SCSS
$custom: #241f89;
$custom-light: #705cad;
$custom-dark: #000000;
JSON
{
  "hex": "#241f89",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 242.83,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33255,
    "c": 0.1669,
    "h": 274.5
  },
  "luminance": 0.03161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #241F89

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

Preview Lab → · Contrast checker → · Palette generator →

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