#241780#241780

#241780 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.2% C 0.163 H 276.8°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#241780
RGBrgb(36, 23, 128)
HSLhsl(247, 70%, 30%)
HSVhsv(247, 82%, 50%)
CMYKcmyk(71.9%, 82%, 0%, 49.8%)
CIE-LABlab(18.12, 39.37, -56.07)
CIE-LCHlch(18.12, 68.51, 305.07°)
OKLaboklab(31.16% 0.0192 -0.162)
OKLCHoklch(31.16% 0.163 276.8)
XYZxyz(4.9290, 2.5459, 20.6495)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241780 #738017
analogous
#173E80 #241780 #591780
triadic
#241780 #802417 #178024
tetradic
#241780 #80173E #738017 #178059
square
#241780 #80173E #738017 #178059
split-complementary
#241780 #805917 #3E8017
monochromatic
#07051A #150E4C #241780 #3320B4 #4B36DB

Accessibility & contrast

On white

13.91
#241780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#241780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241780
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241780#FFFFFF#000000##FFFFFF
##2417801.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#00287E
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #241780;
/* rgb */ color: rgb(36, 23, 128);
/* oklch */ color: oklch(31.2% 0.163 276.8);
Tailwind
colors: {
  custom: {
    50: '#6e57a6',
    500: '#241780',
    950: '#000000',
  },
}
SCSS
$custom: #241780;
$custom-light: #6e57a6;
$custom-dark: #000000;
JSON
{
  "hex": "#241780",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 247.429,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31163,
    "c": 0.16318,
    "h": 276.8
  },
  "luminance": 0.02546
}

Semantic roles & 50–950 ramp

primary
#241780
secondary
#A6B43E
accent
#EC3BD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241780

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

Preview Lab → · Contrast checker → · Palette generator →

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