#241679#241679

#241679 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.155 H 278.0°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#241679
RGBrgb(36, 22, 121)
HSLhsl(248, 69%, 28%)
HSVhsv(248, 82%, 47%)
CMYKcmyk(70.2%, 81.8%, 0%, 52.5%)
CIE-LABlab(17.13, 37.62, -53.26)
CIE-LCHlch(17.13, 65.20, 305.23°)
OKLaboklab(30.23% 0.0217 -0.1538)
OKLCHoklch(30.23% 0.155 278)
XYZxyz(4.4645, 2.3290, 18.2997)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241679 #6B7916
analogous
#163979 #241679 #551679
triadic
#241679 #792416 #167924
tetradic
#241679 #791639 #6B7916 #167955
square
#241679 #791639 #6B7916 #167955
split-complementary
#241679 #795516 #397916
monochromatic
#08051A #150D45 #241679 #331FAD #4830D9

Accessibility & contrast

On white

14.33
#241679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#241679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241679
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241679#FFFFFF#000000##FFFFFF
##2416791.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #241679;
/* rgb */ color: rgb(36, 22, 121);
/* oklch */ color: oklch(30.2% 0.155 278.0);
Tailwind
colors: {
  custom: {
    50: '#6d56a1',
    500: '#241679',
    950: '#000000',
  },
}
SCSS
$custom: #241679;
$custom-light: #6d56a1;
$custom-dark: #000000;
JSON
{
  "hex": "#241679",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 248.485,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30227,
    "c": 0.15538,
    "h": 278
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#241679
secondary
#9EAE3D
accent
#EC3CD3
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241679

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

Preview Lab → · Contrast checker → · Palette generator →

#241679 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva