#24268E#24268E

#24268E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.166 H 272.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#24268E
RGBrgb(36, 38, 142)
HSLhsl(239, 60%, 35%)
HSVhsv(239, 75%, 56%)
CMYKcmyk(74.6%, 73.2%, 0%, 44.3%)
CIE-LABlab(22.70, 35.55, -57.31)
CIE-LCHlch(22.70, 67.44, 301.81°)
OKLaboklab(34.86% 0.0084 -0.1658)
OKLCHoklch(34.86% 0.166 272.9)
XYZxyz(6.3015, 3.7136, 25.9706)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24268E #8E8C24
analogous
#245B8E #24268E #57248E
triadic
#24268E #8E2426 #268E24
tetradic
#24268E #8E245B #8E8C24 #248E57
square
#24268E #8E245B #8E8C24 #248E57
split-complementary
#24268E #8E5724 #5B8E24
monochromatic
#0B0C2C #18195D #24268E #3033BF #585AD5

Accessibility & contrast

On white

12.05
#24268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24268E
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24268E#FFFFFF#000000##FFFFFF
##24268E1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24268e;
/* rgb */ color: rgb(36, 38, 142);
/* oklch */ color: oklch(34.9% 0.166 272.9);
Tailwind
colors: {
  custom: {
    50: '#7061b0',
    500: '#24268e',
    950: '#000000',
  },
}
SCSS
$custom: #24268e;
$custom-light: #7061b0;
$custom-dark: #000000;
JSON
{
  "hex": "#24268e",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 238.868,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34856,
    "c": 0.166,
    "h": 272.9
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#24268E
secondary
#B9B755
accent
#E045E3
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #24268E

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

Preview Lab → · Contrast checker → · Palette generator →

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