#241785#241785

#241785 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.169 H 276.0°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#241785
RGBrgb(36, 23, 133)
HSLhsl(247, 71%, 31%)
HSVhsv(247, 83%, 52%)
CMYKcmyk(72.9%, 82.7%, 0%, 47.8%)
CIE-LABlab(18.72, 40.97, -58.25)
CIE-LCHlch(18.72, 71.22, 305.12°)
OKLaboklab(31.75% 0.0178 -0.1684)
OKLCHoklch(31.75% 0.169 276)
XYZxyz(5.2662, 2.6808, 22.4257)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241785 #788517
analogous
#174185 #241785 #5B1785
triadic
#241785 #852417 #178524
tetradic
#241785 #851741 #788517 #17855B
square
#241785 #851741 #788517 #17855B
split-complementary
#241785 #855B17 #418517
monochromatic
#08051D #160E51 #241785 #3220B9 #4D3ADD

Accessibility & contrast

On white

13.67
#241785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#241785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241785
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241785#FFFFFF#000000##FFFFFF
##2417851.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002983
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241785;
/* rgb */ color: rgb(36, 23, 133);
/* oklch */ color: oklch(31.7% 0.169 276.0);
Tailwind
colors: {
  custom: {
    50: '#7058aa',
    500: '#241785',
    950: '#000000',
  },
}
SCSS
$custom: #241785;
$custom-light: #7058aa;
$custom-dark: #000000;
JSON
{
  "hex": "#241785",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 247.091,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.31748,
    "c": 0.16933,
    "h": 276
  },
  "luminance": 0.02681
}

Semantic roles & 50–950 ramp

primary
#241785
secondary
#ABB93F
accent
#ED3BD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #241785

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

Preview Lab → · Contrast checker → · Palette generator →

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