#241783#241783

#241783 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.167 H 276.3°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#241783
RGBrgb(36, 23, 131)
HSLhsl(247, 70%, 30%)
HSVhsv(247, 82%, 51%)
CMYKcmyk(72.5%, 82.4%, 0%, 48.6%)
CIE-LABlab(18.48, 40.33, -57.38)
CIE-LCHlch(18.48, 70.14, 305.10°)
OKLaboklab(31.51% 0.0184 -0.1659)
OKLCHoklch(31.51% 0.167 276.3)
XYZxyz(5.1293, 2.6261, 21.7049)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241783 #768317
analogous
#174083 #241783 #5A1783
triadic
#241783 #832417 #178324
tetradic
#241783 #831740 #768317 #17835A
square
#241783 #831740 #768317 #17835A
split-complementary
#241783 #835A17 #408317
monochromatic
#07051B #160E4F #241783 #3220B7 #4C38DC

Accessibility & contrast

On white

13.77
#241783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241783
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241783#FFFFFF#000000##FFFFFF
##2417831.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002881
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #241783;
/* rgb */ color: rgb(36, 23, 131);
/* oklch */ color: oklch(31.5% 0.167 276.3);
Tailwind
colors: {
  custom: {
    50: '#6f57a8',
    500: '#241783',
    950: '#000000',
  },
}
SCSS
$custom: #241783;
$custom-light: #6f57a8;
$custom-dark: #000000;
JSON
{
  "hex": "#241783",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 131
  },
  "hsl": {
    "h": 247.222,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.31514,
    "c": 0.16688,
    "h": 276.3
  },
  "luminance": 0.02627
}

Semantic roles & 50–950 ramp

primary
#241783
secondary
#A9B73F
accent
#ED3BD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #241783

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

Preview Lab → · Contrast checker → · Palette generator →

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