#241F88#241F88

#241F88 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.166 H 274.6°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#241F88
RGBrgb(36, 31, 136)
HSLhsl(243, 63%, 33%)
HSVhsv(243, 77%, 53%)
CMYKcmyk(73.5%, 77.2%, 0%, 46.7%)
CIE-LABlab(20.57, 37.64, -57.08)
CIE-LCHlch(20.57, 68.38, 303.40°)
OKLaboklab(33.14% 0.0132 -0.1651)
OKLCHoklch(33.14% 0.166 274.6)
XYZxyz(5.6600, 3.1321, 23.5940)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F88 #83881F
analogous
#1F4F88 #241F88 #581F88
triadic
#241F88 #88241F #1F8824
tetradic
#241F88 #881F4F #83881F #1F8858
square
#241F88 #881F4F #83881F #1F8858
split-complementary
#241F88 #88581F #4F881F
monochromatic
#0A0824 #171456 #241F88 #312ABA #524BD6

Accessibility & contrast

On white

12.91
#241F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241F88
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F88#FFFFFF#000000##FFFFFF
##241F881.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002D86
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #241f88;
/* rgb */ color: rgb(36, 31, 136);
/* oklch */ color: oklch(33.1% 0.166 274.6);
Tailwind
colors: {
  custom: {
    50: '#705cac',
    500: '#241f88',
    950: '#000000',
  },
}
SCSS
$custom: #241f88;
$custom-light: #705cac;
$custom-dark: #000000;
JSON
{
  "hex": "#241f88",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 242.857,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33144,
    "c": 0.16562,
    "h": 274.6
  },
  "luminance": 0.03133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #241F88

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

Preview Lab → · Contrast checker → · Palette generator →

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