#24267D#24267D

#24267D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.143 H 274.3°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#24267D
RGBrgb(36, 38, 125)
HSLhsl(239, 55%, 32%)
HSVhsv(239, 71%, 49%)
CMYKcmyk(71.2%, 69.6%, 0%, 51%)
CIE-LABlab(20.99, 29.42, -49.45)
CIE-LCHlch(20.99, 57.54, 300.75°)
OKLaboklab(33.1% 0.0107 -0.1428)
OKLCHoklch(33.1% 0.143 274.3)
XYZxyz(5.1211, 3.2415, 19.7538)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24267D #7D7B24
analogous
#24537D #24267D #4F247D
triadic
#24267D #7D2426 #267D24
tetradic
#24267D #7D2453 #7D7B24 #247D4F
square
#24267D #7D2453 #7D7B24 #247D4F
split-complementary
#24267D #7D4F24 #537D24
monochromatic
#09091E #16184D #24267D #3234AD #4F52CC

Accessibility & contrast

On white

12.74
#24267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#24267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24267D
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24267D#FFFFFF#000000##FFFFFF
##24267D1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #24267d;
/* rgb */ color: rgb(36, 38, 125);
/* oklch */ color: oklch(33.1% 0.143 274.3);
Tailwind
colors: {
  custom: {
    50: '#6c61a4',
    500: '#24267d',
    950: '#000000',
  },
}
SCSS
$custom: #24267d;
$custom-light: #6c61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24267d",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 238.652,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33101,
    "c": 0.14324,
    "h": 274.3
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#24267D
secondary
#AFAD4D
accent
#DB49DF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #24267D

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

Preview Lab → · Contrast checker → · Palette generator →

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