#18235D#18235D

#18235D is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.104 H 270.3°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#18235D
RGBrgb(24, 35, 93)
HSLhsl(230, 59%, 23%)
HSVhsv(230, 74%, 36%)
CMYKcmyk(74.2%, 62.4%, 0%, 63.5%)
CIE-LABlab(16.44, 17.37, -36.14)
CIE-LCHlch(16.44, 40.10, 295.67°)
OKLaboklab(28.63% 0.0005 -0.1041)
OKLCHoklch(28.63% 0.104 270.3)
XYZxyz(2.9528, 2.1863, 10.6202)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18235D #5D5218
analogous
#18455D #18235D #2F185D
triadic
#18235D #5D1823 #235D18
tetradic
#18235D #5D1845 #5D5218 #185D2F
square
#18235D #5D1845 #5D5218 #185D2F
split-complementary
#18235D #5D2F18 #455D18
monochromatic
#060918 #0B112C #18235D #25358E #3148BE

Accessibility & contrast

On white

14.61
#18235D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#18235D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18235D
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18235D#FFFFFF#000000##FFFFFF
##18235D1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18235d;
/* rgb */ color: rgb(24, 35, 93);
/* oklch */ color: oklch(28.6% 0.104 270.3);
Tailwind
colors: {
  custom: {
    50: '#5f5d8b',
    500: '#18235d',
    950: '#000000',
  },
}
SCSS
$custom: #18235d;
$custom-light: #5f5d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#18235d",
  "rgb": {
    "r": 24,
    "g": 35,
    "b": 93
  },
  "hsl": {
    "h": 230.435,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28632,
    "c": 0.10415,
    "h": 270.3
  },
  "luminance": 0.02187
}

Semantic roles & 50–950 ramp

primary
#18235D
secondary
#93863D
accent
#C946E2
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #18235D

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

Preview Lab → · Contrast checker → · Palette generator →

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