#24138A#24138A

#24138A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.178 H 275.7°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#24138A
RGBrgb(36, 19, 138)
HSLhsl(249, 76%, 31%)
HSVhsv(249, 86%, 54%)
CMYKcmyk(73.9%, 86.2%, 0%, 45.9%)
CIE-LABlab(18.69, 44.40, -61.44)
CIE-LCHlch(18.69, 75.80, 305.85°)
OKLaboklab(31.91% 0.0177 -0.1776)
OKLCHoklch(31.91% 0.178 275.7)
XYZxyz(5.5464, 2.6753, 24.2639)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24138A #798A13
analogous
#133E8A #24138A #5F138A
triadic
#24138A #8A2413 #138A24
tetradic
#24138A #8A133E #798A13 #138A5F
square
#24138A #8A133E #798A13 #138A5F
split-complementary
#24138A #8A5F13 #3E8A13
monochromatic
#08041E #160C54 #24138A #321AC0 #4D34E3

Accessibility & contrast

On white

13.68
#24138A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#24138A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24138A
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24138A#FFFFFF#000000##FFFFFF
##24138A1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328D
Deuteranopia (green-blind)
#002888
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #24138a;
/* rgb */ color: rgb(36, 19, 138);
/* oklch */ color: oklch(31.9% 0.178 275.7);
Tailwind
colors: {
  custom: {
    50: '#7156ad',
    500: '#24138a',
    950: '#000000',
  },
}
SCSS
$custom: #24138a;
$custom-light: #7156ad;
$custom-dark: #000000;
JSON
{
  "hex": "#24138a",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 138
  },
  "hsl": {
    "h": 248.571,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31909,
    "c": 0.17844,
    "h": 275.7
  },
  "luminance": 0.02676
}

Semantic roles & 50–950 ramp

primary
#24138A
secondary
#ACBE3A
accent
#F235D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #24138A

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

Preview Lab → · Contrast checker → · Palette generator →

#24138A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva