#241F8F#241F8F

#241F8F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.9% C 0.174 H 273.8°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#241F8F
RGBrgb(36, 31, 143)
HSLhsl(243, 64%, 34%)
HSVhsv(243, 78%, 56%)
CMYKcmyk(74.8%, 78.3%, 0%, 43.9%)
CIE-LABlab(21.35, 40.01, -60.16)
CIE-LCHlch(21.35, 72.25, 303.62°)
OKLaboklab(33.93% 0.0117 -0.174)
OKLCHoklch(33.93% 0.174 273.8)
XYZxyz(6.1738, 3.3376, 26.3001)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F8F #8A8F1F
analogous
#1F528F #241F8F #5C1F8F
triadic
#241F8F #8F241F #1F8F24
tetradic
#241F8F #8F1F52 #8A8F1F #1F8F5C
square
#241F8F #8F1F52 #8A8F1F #1F8F5C
split-complementary
#241F8F #8F5C1F #528F1F
monochromatic
#0B092A #17145D #241F8F #312AC1 #564FD9

Accessibility & contrast

On white

12.59
#241F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#241F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F8F
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F8F#FFFFFF#000000##FFFFFF
##241F8F1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002E8D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #241f8f;
/* rgb */ color: rgb(36, 31, 143);
/* oklch */ color: oklch(33.9% 0.174 273.8);
Tailwind
colors: {
  custom: {
    50: '#715db1',
    500: '#241f8f',
    950: '#000000',
  },
}
SCSS
$custom: #241f8f;
$custom-light: #715db1;
$custom-dark: #000000;
JSON
{
  "hex": "#241f8f",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 143
  },
  "hsl": {
    "h": 242.679,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.33928,
    "c": 0.17444,
    "h": 273.8
  },
  "luminance": 0.03338
}

Semantic roles & 50–950 ramp

primary
#241F8F
secondary
#B7BC4E
accent
#E740E0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #241F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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