#18355F#18355F

#18355F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.1% C 0.082 H 257.8°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#18355F
RGBrgb(24, 53, 95)
HSLhsl(215, 60%, 23%)
HSVhsv(215, 75%, 37%)
CMYKcmyk(74.7%, 44.2%, 0%, 62.7%)
CIE-LABlab(22.18, 5.10, -28.20)
CIE-LCHlch(22.18, 28.66, 280.25°)
OKLaboklab(33.06% -0.0173 -0.0805)
OKLCHoklch(33.06% 0.082 257.8)
XYZxyz(3.7146, 3.5662, 11.3168)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18355F #5F4218
analogous
#18585F #18355F #1E185F
triadic
#18355F #5F1835 #355F18
tetradic
#18355F #5F1858 #5F4218 #185F1E
square
#18355F #5F1858 #5F4218 #185F1E
split-complementary
#18355F #5F1E18 #585F18
monochromatic
#060E18 #0C1A2E #18355F #245090 #316CC1

Accessibility & contrast

On white

12.26
#18355F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#18355F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18355F
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18355F#FFFFFF#000000##FFFFFF
##18355F1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213961
Deuteranopia (green-blind)
#16325E
Tritanopia (blue-blind)
#003F45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #18355f;
/* rgb */ color: rgb(24, 53, 95);
/* oklch */ color: oklch(33.1% 0.082 257.8);
Tailwind
colors: {
  custom: {
    50: '#5f6b8d',
    500: '#18355f',
    950: '#000000',
  },
}
SCSS
$custom: #18355f;
$custom-light: #5f6b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#18355f",
  "rgb": {
    "r": 24,
    "g": 53,
    "b": 95
  },
  "hsl": {
    "h": 215.493,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33058,
    "c": 0.08234,
    "h": 257.8
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#18355F
secondary
#95713D
accent
#A245E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #18355F

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

Preview Lab → · Contrast checker → · Palette generator →

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