#241F8B#241F8B

#241F8B is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.169 H 274.3°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#241F8B
RGBrgb(36, 31, 139)
HSLhsl(243, 64%, 33%)
HSVhsv(243, 78%, 55%)
CMYKcmyk(74.1%, 77.7%, 0%, 45.5%)
CIE-LABlab(20.90, 38.66, -58.41)
CIE-LCHlch(20.90, 70.05, 303.50°)
OKLaboklab(33.48% 0.0126 -0.169)
OKLCHoklch(33.48% 0.169 274.3)
XYZxyz(5.8762, 3.2185, 24.7326)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F8B #868B1F
analogous
#1F508B #241F8B #5A1F8B
triadic
#241F8B #8B241F #1F8B24
tetradic
#241F8B #8B1F50 #868B1F #1F8B5A
square
#241F8B #8B1F50 #868B1F #1F8B5A
split-complementary
#241F8B #8B5A1F #508B1F
monochromatic
#0A0927 #171459 #241F8B #312ABD #534DD7

Accessibility & contrast

On white

12.78
#241F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241F8B
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F8B#FFFFFF#000000##FFFFFF
##241F8B1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378E
Deuteranopia (green-blind)
#002D89
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #241f8b;
/* rgb */ color: rgb(36, 31, 139);
/* oklch */ color: oklch(33.5% 0.169 274.3);
Tailwind
colors: {
  custom: {
    50: '#705dae',
    500: '#241f8b',
    950: '#000000',
  },
}
SCSS
$custom: #241f8b;
$custom-light: #705dae;
$custom-dark: #000000;
JSON
{
  "hex": "#241f8b",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 242.778,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33478,
    "c": 0.16943,
    "h": 274.3
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#241F8B
secondary
#B5BA4C
accent
#E741DF
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #241F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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