#24268D#24268D

#24268D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.165 H 273.0°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#24268D
RGBrgb(36, 38, 141)
HSLhsl(239, 59%, 35%)
HSVhsv(239, 74%, 55%)
CMYKcmyk(74.5%, 73%, 0%, 44.7%)
CIE-LABlab(22.60, 35.20, -56.86)
CIE-LCHlch(22.60, 66.87, 301.76°)
OKLaboklab(34.75% 0.0085 -0.1645)
OKLCHoklch(34.75% 0.165 273)
XYZxyz(6.2268, 3.6838, 25.5770)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24268D #8D8B24
analogous
#245B8D #24268D #57248D
triadic
#24268D #8D2426 #268D24
tetradic
#24268D #8D245B #8D8B24 #248D57
square
#24268D #8D245B #8D8B24 #248D57
split-complementary
#24268D #8D5724 #5B8D24
monochromatic
#0B0C2B #18195C #24268D #3033BE #575AD4

Accessibility & contrast

On white

12.09
#24268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#24268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24268D
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24268D#FFFFFF#000000##FFFFFF
##24268D1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #24268d;
/* rgb */ color: rgb(36, 38, 141);
/* oklch */ color: oklch(34.8% 0.165 273.0);
Tailwind
colors: {
  custom: {
    50: '#7061af',
    500: '#24268d',
    950: '#000000',
  },
}
SCSS
$custom: #24268d;
$custom-light: #7061af;
$custom-dark: #000000;
JSON
{
  "hex": "#24268d",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 238.857,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3475,
    "c": 0.16469,
    "h": 273
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#24268D
secondary
#B8B754
accent
#E045E3
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #24268D

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

Preview Lab → · Contrast checker → · Palette generator →

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