#241F82#241F82

#241F82 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.158 H 275.3°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#241F82
RGBrgb(36, 31, 130)
HSLhsl(243, 61%, 32%)
HSVhsv(243, 76%, 51%)
CMYKcmyk(72.3%, 76.2%, 0%, 49%)
CIE-LABlab(19.91, 35.59, -54.39)
CIE-LCHlch(19.91, 65.00, 303.20°)
OKLaboklab(32.48% 0.0145 -0.1572)
OKLCHoklch(32.48% 0.158 275.3)
XYZxyz(5.2455, 2.9663, 21.4109)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F82 #7D821F
analogous
#1F4C82 #241F82 #561F82
triadic
#241F82 #82241F #1F8224
tetradic
#241F82 #821F4C #7D821F #1F8256
square
#241F82 #821F4C #7D821F #1F8256
split-complementary
#241F82 #82561F #4C821F
monochromatic
#09071F #161351 #241F82 #322BB3 #4F48D3

Accessibility & contrast

On white

13.18
#241F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241F82
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F82#FFFFFF#000000##FFFFFF
##241F821.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003485
Deuteranopia (green-blind)
#002C80
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #241f82;
/* rgb */ color: rgb(36, 31, 130);
/* oklch */ color: oklch(32.5% 0.158 275.3);
Tailwind
colors: {
  custom: {
    50: '#6e5ca7',
    500: '#241f82',
    950: '#000000',
  },
}
SCSS
$custom: #241f82;
$custom-light: #6e5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#241f82",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 130
  },
  "hsl": {
    "h": 243.03,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32483,
    "c": 0.15792,
    "h": 275.3
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

primary
#241F82
secondary
#AFB548
accent
#E543DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #241F82

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

Preview Lab → · Contrast checker → · Palette generator →

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