#24345A#24345A

#24345A is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.1% C 0.071 H 265.5°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#24345A
RGBrgb(36, 52, 90)
HSLhsl(222, 43%, 25%)
HSVhsv(222, 60%, 35%)
CMYKcmyk(60%, 42.2%, 0%, 64.7%)
CIE-LABlab(22.19, 6.36, -24.86)
CIE-LCHlch(22.19, 25.66, 284.34°)
OKLaboklab(33.14% -0.0056 -0.0705)
OKLCHoklch(33.14% 0.071 265.5)
XYZxyz(3.8004, 3.5689, 10.1595)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24345A #5A4A24
analogous
#244F5A #24345A #2F245A
triadic
#24345A #5A2434 #345A24
tetradic
#24345A #5A244F #5A4A24 #245A2F
square
#24345A #5A244F #5A4A24 #245A2F
split-complementary
#24345A #5A2F24 #4F5A24
monochromatic
#090D16 #131B2E #24345A #354D86 #4767B1

Accessibility & contrast

On white

12.25
#24345A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#24345A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24345A
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24345A#FFFFFF#000000##FFFFFF
##24345A1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24385C
Deuteranopia (green-blind)
#1E3359
Tritanopia (blue-blind)
#043C42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #24345a;
/* rgb */ color: rgb(36, 52, 90);
/* oklch */ color: oklch(33.1% 0.071 265.5);
Tailwind
colors: {
  custom: {
    50: '#636b89',
    500: '#24345a',
    950: '#000000',
  },
}
SCSS
$custom: #24345a;
$custom-light: #636b89;
$custom-dark: #000000;
JSON
{
  "hex": "#24345a",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 90
  },
  "hsl": {
    "h": 222.222,
    "s": 42.857,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33139,
    "c": 0.07071,
    "h": 265.5
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#24345A
secondary
#8E7A4C
accent
#AD55D3
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #24345A

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

Preview Lab → · Contrast checker → · Palette generator →

#24345A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva