#24355F#24355F

#24355F is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.077 H 265.8°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#24355F
RGBrgb(36, 53, 95)
HSLhsl(223, 45%, 26%)
HSVhsv(223, 62%, 37%)
CMYKcmyk(62.1%, 44.2%, 0%, 62.7%)
CIE-LABlab(22.82, 7.55, -27.15)
CIE-LCHlch(22.82, 28.18, 285.53°)
OKLaboklab(33.72% -0.0057 -0.0772)
OKLCHoklch(33.72% 0.077 265.8)
XYZxyz(4.0655, 3.7472, 11.3333)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24355F #5F4E24
analogous
#24525F #24355F #30245F
triadic
#24355F #5F2435 #355F24
tetradic
#24355F #5F2452 #5F4E24 #245F30
square
#24355F #5F2452 #5F4E24 #245F30
split-complementary
#24355F #5F3024 #525F24
monochromatic
#080C16 #131C33 #24355F #354E8B #4667B8

Accessibility & contrast

On white

12.00
#24355F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24355F
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24355F#FFFFFF#000000##FFFFFF
##24355F1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233961
Deuteranopia (green-blind)
#1B345E
Tritanopia (blue-blind)
#003E45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #24355f;
/* rgb */ color: rgb(36, 53, 95);
/* oklch */ color: oklch(33.7% 0.077 265.8);
Tailwind
colors: {
  custom: {
    50: '#646b8c',
    500: '#24355f',
    950: '#000000',
  },
}
SCSS
$custom: #24355f;
$custom-light: #646b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#24355f",
  "rgb": {
    "r": 36,
    "g": 53,
    "b": 95
  },
  "hsl": {
    "h": 222.712,
    "s": 45.038,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33722,
    "c": 0.07739,
    "h": 265.8
  },
  "luminance": 0.03747
}

Semantic roles & 50–950 ramp

primary
#24355F
secondary
#937E4C
accent
#AF53D5
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #24355F

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

Preview Lab → · Contrast checker → · Palette generator →

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