#241979#241979

#241979 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.152 H 277.6°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#241979
RGBrgb(36, 25, 121)
HSLhsl(247, 66%, 29%)
HSVhsv(247, 79%, 47%)
CMYKcmyk(70.2%, 79.3%, 0%, 52.5%)
CIE-LABlab(17.69, 35.99, -52.32)
CIE-LCHlch(17.69, 63.51, 304.52°)
OKLaboklab(30.62% 0.0201 -0.1512)
OKLCHoklch(30.62% 0.153 277.6)
XYZxyz(4.5253, 2.4504, 18.3200)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241979 #6E7919
analogous
#193E79 #241979 #541979
triadic
#241979 #792419 #197924
tetradic
#241979 #79193E #6E7919 #197954
square
#241979 #79193E #6E7919 #197954
split-complementary
#241979 #795419 #3E7919
monochromatic
#080519 #150F46 #241979 #3323AC #4937D6

Accessibility & contrast

On white

14.09
#241979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#241979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241979
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241979#FFFFFF#000000##FFFFFF
##2419791.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7C
Deuteranopia (green-blind)
#002777
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #241979;
/* rgb */ color: rgb(36, 25, 121);
/* oklch */ color: oklch(30.6% 0.152 277.6);
Tailwind
colors: {
  custom: {
    50: '#6c58a1',
    500: '#241979',
    950: '#000000',
  },
}
SCSS
$custom: #241979;
$custom-light: #6c58a1;
$custom-dark: #000000;
JSON
{
  "hex": "#241979",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 246.875,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30623,
    "c": 0.1525,
    "h": 277.6
  },
  "luminance": 0.02451
}

Semantic roles & 50–950 ramp

primary
#241979
secondary
#A1AE40
accent
#E93FD5
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241979

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

Preview Lab → · Contrast checker → · Palette generator →

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