#241F8A#241F8A

#241F8A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.168 H 274.4°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#241F8A
RGBrgb(36, 31, 138)
HSLhsl(243, 63%, 33%)
HSVhsv(243, 78%, 54%)
CMYKcmyk(73.9%, 77.5%, 0%, 45.9%)
CIE-LABlab(20.79, 38.32, -57.97)
CIE-LCHlch(20.79, 69.49, 303.47°)
OKLaboklab(33.37% 0.0128 -0.1677)
OKLCHoklch(33.37% 0.168 274.4)
XYZxyz(5.8035, 3.1894, 24.3496)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F8A #858A1F
analogous
#1F4F8A #241F8A #591F8A
triadic
#241F8A #8A241F #1F8A24
tetradic
#241F8A #8A1F4F #858A1F #1F8A59
square
#241F8A #8A1F4F #858A1F #1F8A59
split-complementary
#241F8A #8A591F #4F8A1F
monochromatic
#0A0926 #171458 #241F8A #312ABC #534CD7

Accessibility & contrast

On white

12.82
#241F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#241F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F8A
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F8A#FFFFFF#000000##FFFFFF
##241F8A1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#002D88
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #241f8a;
/* rgb */ color: rgb(36, 31, 138);
/* oklch */ color: oklch(33.4% 0.168 274.4);
Tailwind
colors: {
  custom: {
    50: '#705dad',
    500: '#241f8a',
    950: '#000000',
  },
}
SCSS
$custom: #241f8a;
$custom-light: #705dad;
$custom-dark: #000000;
JSON
{
  "hex": "#241f8a",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 242.804,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33367,
    "c": 0.16816,
    "h": 274.4
  },
  "luminance": 0.0319
}

Semantic roles & 50–950 ramp

primary
#241F8A
secondary
#B4BA4B
accent
#E641DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #241F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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