#241F8D#241F8D

#241F8D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.172 H 274.1°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#241F8D
RGBrgb(36, 31, 141)
HSLhsl(243, 64%, 34%)
HSVhsv(243, 78%, 55%)
CMYKcmyk(74.5%, 78%, 0%, 44.7%)
CIE-LABlab(21.12, 39.34, -59.29)
CIE-LCHlch(21.12, 71.15, 303.56°)
OKLaboklab(33.7% 0.0122 -0.1715)
OKLCHoklch(33.7% 0.172 274.1)
XYZxyz(6.0237, 3.2775, 25.5093)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F8D #888D1F
analogous
#1F518D #241F8D #5B1F8D
triadic
#241F8D #8D241F #1F8D24
tetradic
#241F8D #8D1F51 #888D1F #1F8D5B
square
#241F8D #8D1F51 #888D1F #1F8D5B
split-complementary
#241F8D #8D5B1F #518D1F
monochromatic
#0A0929 #17145B #241F8D #312ABF #554ED8

Accessibility & contrast

On white

12.68
#241F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#241F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F8D
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F8D#FFFFFF#000000##FFFFFF
##241F8D1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003890
Deuteranopia (green-blind)
#002E8B
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #241f8d;
/* rgb */ color: rgb(36, 31, 141);
/* oklch */ color: oklch(33.7% 0.172 274.1);
Tailwind
colors: {
  custom: {
    50: '#715db0',
    500: '#241f8d',
    950: '#000000',
  },
}
SCSS
$custom: #241f8d;
$custom-light: #715db0;
$custom-dark: #000000;
JSON
{
  "hex": "#241f8d",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 242.727,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33702,
    "c": 0.17194,
    "h": 274.1
  },
  "luminance": 0.03278
}

Semantic roles & 50–950 ramp

primary
#241F8D
secondary
#B6BB4D
accent
#E741DF
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #241F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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