#241E8F#241E8F

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

Color values

HEX#241E8F
RGBrgb(36, 30, 143)
HSLhsl(243, 65%, 34%)
HSVhsv(243, 79%, 56%)
CMYKcmyk(74.8%, 79%, 0%, 43.9%)
CIE-LABlab(21.16, 40.56, -60.48)
CIE-LCHlch(21.16, 72.82, 303.85°)
OKLaboklab(33.79% 0.0122 -0.175)
OKLCHoklch(33.79% 0.175 274)
XYZxyz(6.1481, 3.2862, 26.2916)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241E8F #898F1E
analogous
#1E518F #241E8F #5D1E8F
triadic
#241E8F #8F241E #1E8F24
tetradic
#241E8F #8F1E51 #898F1E #1E8F5D
square
#241E8F #8F1E51 #898F1E #1E8F5D
split-complementary
#241E8F #8F5D1E #518F1E
monochromatic
#0B092A #17135C #241E8F #3129C2 #554EDA

Accessibility & contrast

On white

12.67
#241E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241E8F
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241E8F#FFFFFF#000000##FFFFFF
##241E8F1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003892
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #241e8f;
/* rgb */ color: rgb(36, 30, 143);
/* oklch */ color: oklch(33.8% 0.175 274.0);
Tailwind
colors: {
  custom: {
    50: '#715cb1',
    500: '#241e8f',
    950: '#000000',
  },
}
SCSS
$custom: #241e8f;
$custom-light: #715cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#241e8f",
  "rgb": {
    "r": 36,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 243.186,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33792,
    "c": 0.17538,
    "h": 274
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#241E8F
secondary
#B7BC4C
accent
#E840DF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #241E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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