#241980#241980

#241980 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.161 H 276.5°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#241980
RGBrgb(36, 25, 128)
HSLhsl(246, 67%, 30%)
HSVhsv(246, 80%, 50%)
CMYKcmyk(71.9%, 80.5%, 0%, 49.8%)
CIE-LABlab(18.49, 38.31, -55.47)
CIE-LCHlch(18.49, 67.41, 304.63°)
OKLaboklab(31.42% 0.0182 -0.1603)
OKLCHoklch(31.42% 0.161 276.5)
XYZxyz(4.9702, 2.6284, 20.6633)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241980 #758019
analogous
#194180 #241980 #581980
triadic
#241980 #802419 #198024
tetradic
#241980 #801941 #758019 #198058
square
#241980 #801941 #758019 #198058
split-complementary
#241980 #805819 #418019
monochromatic
#07051A #160F4D #241980 #3223B3 #4C3BD9

Accessibility & contrast

On white

13.76
#241980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#241980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241980
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241980#FFFFFF#000000##FFFFFF
##2419801.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#00297E
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #241980;
/* rgb */ color: rgb(36, 25, 128);
/* oklch */ color: oklch(31.4% 0.161 276.5);
Tailwind
colors: {
  custom: {
    50: '#6e58a6',
    500: '#241980',
    950: '#000000',
  },
}
SCSS
$custom: #241980;
$custom-light: #6e58a6;
$custom-dark: #000000;
JSON
{
  "hex": "#241980",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 246.408,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.31418,
    "c": 0.16135,
    "h": 276.5
  },
  "luminance": 0.02629
}

Semantic roles & 50–950 ramp

primary
#241980
secondary
#A8B441
accent
#EA3ED8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241980

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

Preview Lab → · Contrast checker → · Palette generator →

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