#24268B#24268B

#24268B is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.162 H 273.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#24268B
RGBrgb(36, 38, 139)
HSLhsl(239, 59%, 34%)
HSVhsv(239, 74%, 55%)
CMYKcmyk(74.1%, 72.7%, 0%, 45.5%)
CIE-LABlab(22.39, 34.48, -55.95)
CIE-LCHlch(22.39, 65.72, 301.65°)
OKLaboklab(34.54% 0.0088 -0.1618)
OKLCHoklch(34.54% 0.162 273.1)
XYZxyz(6.0793, 3.6248, 24.8004)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24268B #8B8924
analogous
#245A8B #24268B #56248B
triadic
#24268B #8B2426 #268B24
tetradic
#24268B #8B245A #8B8924 #248B56
square
#24268B #8B245A #8B8924 #248B56
split-complementary
#24268B #8B5624 #5A8B24
monochromatic
#0B0B2A #17195A #24268B #3133BC #5659D3

Accessibility & contrast

On white

12.17
#24268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#24268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24268B
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24268B#FFFFFF#000000##FFFFFF
##24268B1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003189
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #24268b;
/* rgb */ color: rgb(36, 38, 139);
/* oklch */ color: oklch(34.5% 0.162 273.1);
Tailwind
colors: {
  custom: {
    50: '#7061ae',
    500: '#24268b',
    950: '#000000',
  },
}
SCSS
$custom: #24268b;
$custom-light: #7061ae;
$custom-dark: #000000;
JSON
{
  "hex": "#24268b",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 238.835,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34539,
    "c": 0.16207,
    "h": 273.1
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#24268B
secondary
#B7B653
accent
#DF46E2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #24268B

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

Preview Lab → · Contrast checker → · Palette generator →

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