#24246F#24246F

#24246F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.126 H 276.3°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#24246F
RGBrgb(36, 36, 111)
HSLhsl(240, 51%, 29%)
HSVhsv(240, 68%, 44%)
CMYKcmyk(67.6%, 67.6%, 0%, 56.5%)
CIE-LABlab(19.16, 25.60, -43.47)
CIE-LCHlch(19.16, 50.45, 300.49°)
OKLaboklab(31.36% 0.0138 -0.1253)
OKLCHoklch(31.36% 0.126 276.3)
XYZxyz(4.2267, 2.7842, 15.3505)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24246F #6F6F24
analogous
#244A6F #24246F #4A246F
triadic
#24246F #6F2424 #246F24
tetradic
#24246F #6F244A #6F6F24 #246F4A
square
#24246F #6F244A #6F6F24 #246F4A
split-complementary
#24246F #6F4A24 #4A6F24
monochromatic
#070717 #151541 #24246F #33339D #4949C4

Accessibility & contrast

On white

13.49
#24246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#24246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24246F
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24246F#FFFFFF#000000##FFFFFF
##24246F1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #24246f;
/* rgb */ color: rgb(36, 36, 111);
/* oklch */ color: oklch(31.4% 0.126 276.3);
Tailwind
colors: {
  custom: {
    50: '#695f99',
    500: '#24246f',
    950: '#000000',
  },
}
SCSS
$custom: #24246f;
$custom-light: #695f99;
$custom-dark: #000000;
JSON
{
  "hex": "#24246f",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 240,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31362,
    "c": 0.1261,
    "h": 276.3
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#24246F
secondary
#A2A24D
accent
#DA4DDA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #24246F

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

Preview Lab → · Contrast checker → · Palette generator →

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