#24268F#24268F

#24268F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.167 H 272.8°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#24268F
RGBrgb(36, 38, 143)
HSLhsl(239, 60%, 35%)
HSVhsv(239, 75%, 56%)
CMYKcmyk(74.8%, 73.4%, 0%, 43.9%)
CIE-LABlab(22.81, 35.90, -57.76)
CIE-LCHlch(22.81, 68.01, 301.87°)
OKLaboklab(34.96% 0.0082 -0.1671)
OKLCHoklch(34.96% 0.167 272.8)
XYZxyz(6.3769, 3.7438, 26.3678)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24268F #8F8D24
analogous
#245B8F #24268F #58248F
triadic
#24268F #8F2426 #268F24
tetradic
#24268F #8F245B #8F8D24 #248F58
square
#24268F #8F245B #8F8D24 #248F58
split-complementary
#24268F #8F5824 #5B8F24
monochromatic
#0B0C2D #18195E #24268F #3033C0 #585BD5

Accessibility & contrast

On white

12.01
#24268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#24268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24268F
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24268F#FFFFFF#000000##FFFFFF
##24268F1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #24268f;
/* rgb */ color: rgb(36, 38, 143);
/* oklch */ color: oklch(35.0% 0.167 272.8);
Tailwind
colors: {
  custom: {
    50: '#7161b1',
    500: '#24268f',
    950: '#000000',
  },
}
SCSS
$custom: #24268f;
$custom-light: #7161b1;
$custom-dark: #000000;
JSON
{
  "hex": "#24268f",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 238.879,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34962,
    "c": 0.16729,
    "h": 272.8
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24268F

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

Preview Lab → · Contrast checker → · Palette generator →

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