#18245D#18245D

#18245D is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.103 H 269.8°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#18245D
RGBrgb(24, 36, 93)
HSLhsl(230, 59%, 23%)
HSVhsv(230, 74%, 36%)
CMYKcmyk(74.2%, 61.3%, 0%, 63.5%)
CIE-LABlab(16.73, 16.64, -35.66)
CIE-LCHlch(16.73, 39.35, 295.01°)
OKLaboklab(28.85% -0.0004 -0.1027)
OKLCHoklch(28.85% 0.103 269.8)
XYZxyz(2.9827, 2.2460, 10.6301)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18245D #5D5118
analogous
#18465D #18245D #2E185D
triadic
#18245D #5D1824 #245D18
tetradic
#18245D #5D1846 #5D5118 #185D2E
square
#18245D #5D1846 #5D5118 #185D2E
split-complementary
#18245D #5D2E18 #465D18
monochromatic
#060918 #0B112C #18245D #25378E #314ABE

Accessibility & contrast

On white

14.49
#18245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#18245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18245D
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18245D#FFFFFF#000000##FFFFFF
##18245D1.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5F
Deuteranopia (green-blind)
#00265C
Tritanopia (blue-blind)
#00323C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #18245d;
/* rgb */ color: rgb(24, 36, 93);
/* oklch */ color: oklch(28.8% 0.103 269.8);
Tailwind
colors: {
  custom: {
    50: '#5f5e8b',
    500: '#18245d',
    950: '#000000',
  },
}
SCSS
$custom: #18245d;
$custom-light: #5f5e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#18245d",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 229.565,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2885,
    "c": 0.10273,
    "h": 269.8
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#18245D
secondary
#93853D
accent
#C746E2
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #18245D

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

Preview Lab → · Contrast checker → · Palette generator →

#18245D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva