#24268C#24268C

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

Color values

HEX#24268C
RGBrgb(36, 38, 140)
HSLhsl(239, 59%, 35%)
HSVhsv(239, 74%, 55%)
CMYKcmyk(74.3%, 72.9%, 0%, 45.1%)
CIE-LABlab(22.49, 34.84, -56.40)
CIE-LCHlch(22.49, 66.30, 301.70°)
OKLaboklab(34.64% 0.0087 -0.1631)
OKLCHoklch(34.64% 0.163 273)
XYZxyz(6.1527, 3.6541, 25.1869)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24268C #8C8A24
analogous
#245A8C #24268C #56248C
triadic
#24268C #8C2426 #268C24
tetradic
#24268C #8C245A #8C8A24 #248C56
square
#24268C #8C245A #8C8A24 #248C56
split-complementary
#24268C #8C5624 #5A8C24
monochromatic
#0B0C2B #17195B #24268C #3133BD #5759D4

Accessibility & contrast

On white

12.13
#24268C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24268C
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24268C#FFFFFF#000000##FFFFFF
##24268C1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00318A
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #24268c;
/* rgb */ color: rgb(36, 38, 140);
/* oklch */ color: oklch(34.6% 0.163 273.0);
Tailwind
colors: {
  custom: {
    50: '#7061af',
    500: '#24268c',
    950: '#000000',
  },
}
SCSS
$custom: #24268c;
$custom-light: #7061af;
$custom-dark: #000000;
JSON
{
  "hex": "#24268c",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 238.846,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34644,
    "c": 0.16338,
    "h": 273
  },
  "luminance": 0.03655
}

Semantic roles & 50–950 ramp

primary
#24268C
secondary
#B8B654
accent
#DF46E2
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #24268C

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

Preview Lab → · Contrast checker → · Palette generator →

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