#241F8C#241F8C

#241F8C is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.171 H 274.2°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#241F8C
RGBrgb(36, 31, 140)
HSLhsl(243, 64%, 34%)
HSVhsv(243, 78%, 55%)
CMYKcmyk(74.3%, 77.9%, 0%, 45.1%)
CIE-LABlab(21.01, 39.00, -58.85)
CIE-LCHlch(21.01, 70.60, 303.53°)
OKLaboklab(33.59% 0.0124 -0.1702)
OKLCHoklch(33.59% 0.171 274.2)
XYZxyz(5.9496, 3.2479, 25.1192)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F8C #878C1F
analogous
#1F508C #241F8C #5A1F8C
triadic
#241F8C #8C241F #1F8C24
tetradic
#241F8C #8C1F50 #878C1F #1F8C5A
square
#241F8C #8C1F50 #878C1F #1F8C5A
split-complementary
#241F8C #8C5A1F #508C1F
monochromatic
#0A0928 #17145A #241F8C #312ABE #544ED8

Accessibility & contrast

On white

12.73
#241F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#241F8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F8C
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F8C#FFFFFF#000000##FFFFFF
##241F8C1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241f8c;
/* rgb */ color: rgb(36, 31, 140);
/* oklch */ color: oklch(33.6% 0.171 274.2);
Tailwind
colors: {
  custom: {
    50: '#715daf',
    500: '#241f8c',
    950: '#000000',
  },
}
SCSS
$custom: #241f8c;
$custom-light: #715daf;
$custom-dark: #000000;
JSON
{
  "hex": "#241f8c",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 140
  },
  "hsl": {
    "h": 242.752,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3359,
    "c": 0.17068,
    "h": 274.2
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #241F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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