#18355E#18355E

#18355E is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.0% C 0.081 H 257.4°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#18355E
RGBrgb(24, 53, 94)
HSLhsl(215, 59%, 23%)
HSVhsv(215, 74%, 37%)
CMYKcmyk(74.5%, 43.6%, 0%, 63.1%)
CIE-LABlab(22.12, 4.69, -27.65)
CIE-LCHlch(22.12, 28.04, 279.62°)
OKLaboklab(32.99% -0.0176 -0.0789)
OKLCHoklch(32.99% 0.081 257.4)
XYZxyz(3.6694, 3.5482, 11.0790)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18355E #5E4118
analogous
#18585E #18355E #1E185E
triadic
#18355E #5E1835 #355E18
tetradic
#18355E #5E1858 #5E4118 #185E1E
square
#18355E #5E1858 #5E4118 #185E1E
split-complementary
#18355E #5E1E18 #585E18
monochromatic
#060E18 #0C1A2D #18355E #24508F #316CC0

Accessibility & contrast

On white

12.28
#18355E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18355E
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18355E#FFFFFF#000000##FFFFFF
##18355E1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223860
Deuteranopia (green-blind)
#17325D
Tritanopia (blue-blind)
#003F45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #18355e;
/* rgb */ color: rgb(24, 53, 94);
/* oklch */ color: oklch(33.0% 0.081 257.4);
Tailwind
colors: {
  custom: {
    50: '#5f6b8c',
    500: '#18355e',
    950: '#000000',
  },
}
SCSS
$custom: #18355e;
$custom-light: #5f6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#18355e",
  "rgb": {
    "r": 24,
    "g": 53,
    "b": 94
  },
  "hsl": {
    "h": 215.143,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32987,
    "c": 0.08081,
    "h": 257.4
  },
  "luminance": 0.03549
}

Semantic roles & 50–950 ramp

primary
#18355E
secondary
#94703D
accent
#A145E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #18355E

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

Preview Lab → · Contrast checker → · Palette generator →

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