#241989#241989

#241989 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.172 H 275.3°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#241989
RGBrgb(36, 25, 137)
HSLhsl(246, 69%, 32%)
HSVhsv(246, 82%, 54%)
CMYKcmyk(73.7%, 81.8%, 0%, 46.3%)
CIE-LABlab(19.54, 41.24, -59.41)
CIE-LCHlch(19.54, 72.32, 304.77°)
OKLaboklab(32.46% 0.0158 -0.1718)
OKLCHoklch(32.46% 0.173 275.3)
XYZxyz(5.5891, 2.8759, 23.9226)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241989 #7E8919
analogous
#194689 #241989 #5C1989
triadic
#241989 #892419 #198924
tetradic
#241989 #891946 #7E8919 #19895C
square
#241989 #891946 #7E8919 #19895C
split-complementary
#241989 #895C19 #468919
monochromatic
#090621 #161055 #241989 #3222BD #5040DC

Accessibility & contrast

On white

13.33
#241989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#241989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241989
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241989#FFFFFF#000000##FFFFFF
##2419891.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002A87
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #241989;
/* rgb */ color: rgb(36, 25, 137);
/* oklch */ color: oklch(32.5% 0.172 275.3);
Tailwind
colors: {
  custom: {
    50: '#7059ad',
    500: '#241989',
    950: '#000000',
  },
}
SCSS
$custom: #241989;
$custom-light: #7059ad;
$custom-dark: #000000;
JSON
{
  "hex": "#241989",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 245.893,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32459,
    "c": 0.1725,
    "h": 275.3
  },
  "luminance": 0.02876
}

Semantic roles & 50–950 ramp

primary
#241989
secondary
#B0BC41
accent
#EC3CDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #241989

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

Preview Lab → · Contrast checker → · Palette generator →

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