#24267A#24267A

#24267A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.139 H 274.6°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#24267A
RGBrgb(36, 38, 122)
HSLhsl(239, 54%, 31%)
HSVhsv(239, 70%, 48%)
CMYKcmyk(70.5%, 68.9%, 0%, 52.2%)
CIE-LABlab(20.70, 28.32, -48.02)
CIE-LCHlch(20.70, 55.75, 300.53°)
OKLaboklab(32.8% 0.0111 -0.1386)
OKLCHoklch(32.8% 0.139 274.6)
XYZxyz(4.9324, 3.1660, 18.7597)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24267A #7A7824
analogous
#24517A #24267A #4D247A
triadic
#24267A #7A2426 #267A24
tetradic
#24267A #7A2451 #7A7824 #247A4D
square
#24267A #7A2451 #7A7824 #247A4D
split-complementary
#24267A #7A4D24 #517A24
monochromatic
#08091B #16174B #24267A #3235A9 #4E51CB

Accessibility & contrast

On white

12.86
#24267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#24267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24267A
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24267A#FFFFFF#000000##FFFFFF
##24267A1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#002E78
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #24267a;
/* rgb */ color: rgb(36, 38, 122);
/* oklch */ color: oklch(32.8% 0.139 274.6);
Tailwind
colors: {
  custom: {
    50: '#6b60a1',
    500: '#24267a',
    950: '#000000',
  },
}
SCSS
$custom: #24267a;
$custom-light: #6b60a1;
$custom-dark: #000000;
JSON
{
  "hex": "#24267a",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 238.605,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32802,
    "c": 0.13909,
    "h": 274.6
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#24267A
secondary
#ACAA4D
accent
#DA4ADE
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08050F
muted
#7A797F

Preview Lab

Preview with #24267A

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

Preview Lab → · Contrast checker → · Palette generator →

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