#241F80#241F80

#241F80 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.155 H 275.5°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#241F80
RGBrgb(36, 31, 128)
HSLhsl(243, 61%, 31%)
HSVhsv(243, 76%, 50%)
CMYKcmyk(71.9%, 75.8%, 0%, 49.8%)
CIE-LABlab(19.69, 34.90, -53.48)
CIE-LCHlch(19.69, 63.86, 303.12°)
OKLaboklab(32.27% 0.0149 -0.1546)
OKLCHoklch(32.27% 0.155 275.5)
XYZxyz(5.1125, 2.9131, 20.7107)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F80 #7B801F
analogous
#1F4A80 #241F80 #541F80
triadic
#241F80 #80241F #1F8024
tetradic
#241F80 #801F4A #7B801F #1F8054
square
#241F80 #801F4A #7B801F #1F8054
split-complementary
#241F80 #80541F #4A801F
monochromatic
#08071D #16134F #241F80 #322BB1 #4E47D2

Accessibility & contrast

On white

13.27
#241F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#241F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F80
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F80#FFFFFF#000000##FFFFFF
##241F801.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #241f80;
/* rgb */ color: rgb(36, 31, 128);
/* oklch */ color: oklch(32.3% 0.155 275.5);
Tailwind
colors: {
  custom: {
    50: '#6e5ca6',
    500: '#241f80',
    950: '#000000',
  },
}
SCSS
$custom: #241f80;
$custom-light: #6e5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#241f80",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 243.093,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32265,
    "c": 0.15532,
    "h": 275.5
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#241F80
secondary
#ADB348
accent
#E444DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #241F80

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

Preview Lab → · Contrast checker → · Palette generator →

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