#241F81#241F81

#241F81 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.157 H 275.4°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#241F81
RGBrgb(36, 31, 129)
HSLhsl(243, 61%, 31%)
HSVhsv(243, 76%, 51%)
CMYKcmyk(72.1%, 76%, 0%, 49.4%)
CIE-LABlab(19.80, 35.24, -53.94)
CIE-LCHlch(19.80, 64.43, 303.16°)
OKLaboklab(32.37% 0.0147 -0.1559)
OKLCHoklch(32.37% 0.157 275.4)
XYZxyz(5.1787, 2.9395, 21.0591)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F81 #7C811F
analogous
#1F4B81 #241F81 #551F81
triadic
#241F81 #81241F #1F8124
tetradic
#241F81 #811F4B #7C811F #1F8155
square
#241F81 #811F4B #7C811F #1F8155
split-complementary
#241F81 #81551F #4B811F
monochromatic
#08071E #161350 #241F81 #322BB2 #4F47D3

Accessibility & contrast

On white

13.22
#241F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#241F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F81
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F81#FFFFFF#000000##FFFFFF
##241F811.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#002B7F
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #241f81;
/* rgb */ color: rgb(36, 31, 129);
/* oklch */ color: oklch(32.4% 0.157 275.4);
Tailwind
colors: {
  custom: {
    50: '#6e5ca7',
    500: '#241f81',
    950: '#000000',
  },
}
SCSS
$custom: #241f81;
$custom-light: #6e5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#241f81",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 129
  },
  "hsl": {
    "h": 243.061,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32374,
    "c": 0.15662,
    "h": 275.4
  },
  "luminance": 0.0294
}

Semantic roles & 50–950 ramp

primary
#241F81
secondary
#AEB448
accent
#E443DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #241F81

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

Preview Lab → · Contrast checker → · Palette generator →

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