#24267E#24267E

#24267E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.145 H 274.2°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#24267E
RGBrgb(36, 38, 126)
HSLhsl(239, 56%, 32%)
HSVhsv(239, 71%, 49%)
CMYKcmyk(71.4%, 69.8%, 0%, 50.6%)
CIE-LABlab(21.08, 29.79, -49.93)
CIE-LCHlch(21.08, 58.14, 300.82°)
OKLaboklab(33.2% 0.0106 -0.1442)
OKLCHoklch(33.2% 0.145 274.2)
XYZxyz(5.1853, 3.2672, 20.0920)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24267E #7E7C24
analogous
#24537E #24267E #4F247E
triadic
#24267E #7E2426 #267E24
tetradic
#24267E #7E2453 #7E7C24 #247E4F
square
#24267E #7E2453 #7E7C24 #247E4F
split-complementary
#24267E #7E4F24 #537E24
monochromatic
#09091F #16184E #24267E #3234AE #5052CD

Accessibility & contrast

On white

12.70
#24267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24267E
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24267E#FFFFFF#000000##FFFFFF
##24267E1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #24267e;
/* rgb */ color: rgb(36, 38, 126);
/* oklch */ color: oklch(33.2% 0.145 274.2);
Tailwind
colors: {
  custom: {
    50: '#6c61a4',
    500: '#24267e',
    950: '#000000',
  },
}
SCSS
$custom: #24267e;
$custom-light: #6c61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24267e",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 238.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33201,
    "c": 0.14462,
    "h": 274.2
  },
  "luminance": 0.03268
}

Semantic roles & 50–950 ramp

primary
#24267E
secondary
#B0AE4E
accent
#DC49DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #24267E

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

Preview Lab → · Contrast checker → · Palette generator →

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