#241F8E#241F8E

#241F8E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.173 H 273.9°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#241F8E
RGBrgb(36, 31, 142)
HSLhsl(243, 64%, 34%)
HSVhsv(243, 78%, 56%)
CMYKcmyk(74.6%, 78.2%, 0%, 44.3%)
CIE-LABlab(21.24, 39.67, -59.73)
CIE-LCHlch(21.24, 71.70, 303.59°)
OKLaboklab(33.82% 0.0119 -0.1728)
OKLCHoklch(33.82% 0.173 273.9)
XYZxyz(6.0984, 3.3074, 25.9029)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F8E #898E1F
analogous
#1F528E #241F8E #5C1F8E
triadic
#241F8E #8E241F #1F8E24
tetradic
#241F8E #8E1F52 #898E1F #1F8E5C
square
#241F8E #8E1F52 #898E1F #1F8E5C
split-complementary
#241F8E #8E5C1F #528E1F
monochromatic
#0B092A #17145C #241F8E #312AC0 #554FD9

Accessibility & contrast

On white

12.64
#241F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241F8E
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F8E#FFFFFF#000000##FFFFFF
##241F8E1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241f8e;
/* rgb */ color: rgb(36, 31, 142);
/* oklch */ color: oklch(33.8% 0.173 273.9);
Tailwind
colors: {
  custom: {
    50: '#715db0',
    500: '#241f8e',
    950: '#000000',
  },
}
SCSS
$custom: #241f8e;
$custom-light: #715db0;
$custom-dark: #000000;
JSON
{
  "hex": "#241f8e",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 242.703,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33815,
    "c": 0.17319,
    "h": 273.9
  },
  "luminance": 0.03308
}

Semantic roles & 50–950 ramp

primary
#241F8E
secondary
#B7BB4D
accent
#E741E0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #241F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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