#241790#241790

#241790 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.1% C 0.183 H 274.6°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#241790
RGBrgb(36, 23, 144)
HSLhsl(246, 72%, 33%)
HSVhsv(246, 84%, 56%)
CMYKcmyk(75%, 84%, 0%, 43.5%)
CIE-LABlab(20.05, 44.44, -62.94)
CIE-LCHlch(20.05, 77.05, 305.23°)
OKLaboklab(33.06% 0.0146 -0.182)
OKLCHoklch(33.06% 0.183 274.6)
XYZxyz(6.0663, 3.0009, 26.6397)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241790 #839017
analogous
#174790 #241790 #601790
triadic
#241790 #902417 #179024
tetradic
#241790 #901747 #839017 #179060
square
#241790 #901747 #839017 #179060
split-complementary
#241790 #906017 #479017
monochromatic
#0A0626 #170F5B #241790 #311FC5 #5241E1

Accessibility & contrast

On white

13.12
#241790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#241790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241790
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241790#FFFFFF#000000##FFFFFF
##2417901.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002B8E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #241790;
/* rgb */ color: rgb(36, 23, 144);
/* oklch */ color: oklch(33.1% 0.183 274.6);
Tailwind
colors: {
  custom: {
    50: '#7258b2',
    500: '#241790',
    950: '#000000',
  },
}
SCSS
$custom: #241790;
$custom-light: #7258b2;
$custom-dark: #000000;
JSON
{
  "hex": "#241790",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 144
  },
  "hsl": {
    "h": 246.446,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33055,
    "c": 0.18256,
    "h": 274.6
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#241790
secondary
#B3C142
accent
#EF39DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #241790

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

Preview Lab → · Contrast checker → · Palette generator →

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