#18245A#18245A

#18245A is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.098 H 269.7°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#18245A
RGBrgb(24, 36, 90)
HSLhsl(229, 58%, 22%)
HSVhsv(229, 73%, 35%)
CMYKcmyk(73.3%, 60%, 0%, 64.7%)
CIE-LABlab(16.47, 15.41, -34.08)
CIE-LCHlch(16.47, 37.40, 294.33°)
OKLaboklab(28.58% -0.0005 -0.0981)
OKLCHoklch(28.58% 0.098 269.7)
XYZxyz(2.8524, 2.1939, 9.9440)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18245A #5A4E18
analogous
#18455A #18245A #2D185A
triadic
#18245A #5A1824 #245A18
tetradic
#18245A #5A1845 #5A4E18 #185A2D
square
#18245A #5A1845 #5A4E18 #185A2D
split-complementary
#18245A #5A2D18 #455A18
monochromatic
#060A18 #0B112A #18245A #25378A #324BBB

Accessibility & contrast

On white

14.60
#18245A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#18245A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18245A
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18245A#FFFFFF#000000##FFFFFF
##18245A1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#00313B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #18245a;
/* rgb */ color: rgb(24, 36, 90);
/* oklch */ color: oklch(28.6% 0.098 269.7);
Tailwind
colors: {
  custom: {
    50: '#5e5e89',
    500: '#18245a',
    950: '#000000',
  },
}
SCSS
$custom: #18245a;
$custom-light: #5e5e89;
$custom-dark: #000000;
JSON
{
  "hex": "#18245a",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 90
  },
  "hsl": {
    "h": 229.091,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28579,
    "c": 0.09807,
    "h": 269.7
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#18245A
secondary
#91813D
accent
#C547E1
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #18245A

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

Preview Lab → · Contrast checker → · Palette generator →

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